Commit 3dcc5727 by 冷斌

fix bug

parent baa5285e
......@@ -324,6 +324,10 @@ class UserauthController extends AdminbaseController
'uptime' => time()
]);
if ($result) {
if ($_POST['status'] != 1) {
$_POST['alipay_pay'] = '';
$_POST['wx_pay'] = '';
}
M("users")->where("id='{$_POST['uid']}'")->save([
'alipay_pay' => $_POST['alipay_pay'],
'wx_pay' => $_POST['wx_pay'],
......
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