Commit 6721908f authored by 董先生's avatar 董先生

提现核销

parent ca5adf4c
......@@ -419,12 +419,12 @@ class Withdraw extends Backend
$this->error('非管理员禁止审核提现');
}*/
if($ids){
dump(explode(',',$ids));die;
$row = $this->model->where(['status'=>0,'id' =>['in',explode(',',$ids)]])->select();
}else{
$this->error(__('请批量勾选'));
// $row = $this->model->where(['status' =>0])->select();
}
dump($row);die;
foreach ($row as $key => $val){
$params['status'] = 2;
$params['end_time'] = time();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment