...
|
...
|
@@ -60,7 +60,7 @@ class WithdrawalController extends AdminBaseController{ |
|
|
$data = Db::name('money_expend') -> alias('a') -> field('a.*,b.phone') -> join('my_user b','a.uid=b.uid','LEFT') -> where($where) -> paginate(1000000);
|
|
|
$data_arr = $data -> toArray();
|
|
|
}else{
|
|
|
$data = Db::name('money_expend') -> alias('a') -> field('a.*,b.phone') -> join('my_user b','a.uid=b.uid','LEFT') -> where("state = 1 or state = 2") -> paginate(12);
|
|
|
$data = Db::name('money_expend') -> alias('a') -> field('a.*,b.phone') -> join('my_user b','a.uid=b.uid','LEFT') -> where("state = 1 or state = 2") -> order("a.create_time desc") -> paginate(12);
|
|
|
$data_arr = $data -> toArray();
|
|
|
}
|
|
|
if(!empty($data_arr)){
|
...
|
...
|
|