Commit 600d0a1a by 冷斌

fix bug

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