Commit cdc28290 by 冷斌

fix bug

parent 5ba50927
......@@ -322,7 +322,7 @@ class UserauthController extends AdminbaseController
'uptime' => time()
]);
if ($result) {
$data = $auth->where("uid='{$_POST['uid']}'");
$data = $auth->where("uid='{$_POST['uid']}'")->find();
M("users")->where("uid='{$_POST['uid']}'")->save([
'alipay_pay' => $data['alipay_pay'],
'wx_pay' => $data['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