diff --git a/Application/Admin/Controller/QueryController.class.php b/Application/Admin/Controller/QueryController.class.php index 4f558fbcf..259fccaa8 100644 --- a/Application/Admin/Controller/QueryController.class.php +++ b/Application/Admin/Controller/QueryController.class.php @@ -1224,10 +1224,10 @@ class QueryController extends ThinkController $save['audit_time'] = time(); $save['status'] = $status; $res = $withdraw->where($map)->save($save); - if ($res === false) { - $this->error('操作失败'); - } else { + if ($res) { $this->success('操作成功', U('withdraw')); + } else { + $this->error('操作失败'); } } diff --git a/Application/Admin/View/Query/withdraw.html b/Application/Admin/View/Query/withdraw.html index 9932b2f13..67937146e 100644 --- a/Application/Admin/View/Query/withdraw.html +++ b/Application/Admin/View/Query/withdraw.html @@ -170,11 +170,11 @@ - + - + - + {$data.widthdraw_number} {$data.sum_money}