Commit 600d0a1a by 冷斌

fix bug

parent 216d388e
......@@ -2266,16 +2266,11 @@ class Api_User extends PhalApi_Api
'wx_pay' => $this->wx_pay,
]);
} else {
if ($data['status'] == 0) {
$rs['code'] = 1001;
$rs['msg'] = '不能重复提交';
} else {
DI()->notorm->users_auth_pay->where("uid={$uid}")->update([
'status' => 0,
'alipay_pay' => $this->alipay_pay,
'wx_pay' => $this->wx_pay,
]);
}
DI()->notorm->users_auth_pay->where("uid={$uid}")->update([
'status' => 0,
'alipay_pay' => $this->alipay_pay,
'wx_pay' => $this->wx_pay,
]);
}
$rs['info'] = [];
......
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