...
|
...
|
@@ -24,6 +24,7 @@ class WithdrawalController extends AdminBaseController{ |
|
|
$where['b.phone'] = ['like','%'.trim($param['keyword']).'%'];
|
|
|
}
|
|
|
$data = Db::name('money_expend') -> alias('a') -> field('a.*,b.phone') -> join('my_user b','a.uid=b.uid','LEFT') -> where($where) -> paginate(12);
|
|
|
$data->appends($param);
|
|
|
$data_arr = $data -> toArray();
|
|
|
if(!empty($data_arr)){
|
|
|
foreach($data_arr['data'] as $key => $val){
|
...
|
...
|
@@ -62,6 +63,7 @@ class WithdrawalController extends AdminBaseController{ |
|
|
->where($where)
|
|
|
->order("a.create_time desc")
|
|
|
->paginate(12);
|
|
|
$data->appends($param);
|
|
|
$data_arr = $data -> toArray();
|
|
|
$this->assign('start_time',!empty($param['start_time']) ? $param['start_time'] : '');
|
|
|
$this->assign('end_time',!empty($param['end_time']) ? $param['end_time'] : '');
|
...
|
...
|
|