Commit f22c7d84 by 冷斌

fix bug

parent 07d19512
......@@ -320,12 +320,11 @@ class UserauthController extends AdminbaseController
'status' => $_POST['status'],
'reason' => $_POST['reason'],
]);
var_dump($result);
die;
if ($result) {
$data = $auth->where("uid='{$_POST['uid']}'");
M("users")->where("uid='{$_POST['uid']}'")->save([
'status' => $_POST['status'],
'reason' => $_POST['reason'],
'alipay_pay' => $data['alipay_pay'],
'wx_pay' => $data['wx_pay'],
]);
$this->success('修改成功', U('Userauth/index2'));
} else {
......
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