Commit c87343ce authored by clone's avatar clone

bug

parent 97dc18de
......@@ -96,14 +96,8 @@ class RegisterService
//保存数据
$id = $this->userModel->saveUser($userArr);
/* //绑定微信
if ($wxInfoArr) {
$params["user_id"] = $id;
$params["id"] = $wxInfoArr[0]["id"];
$this->wxInfoModel->updateWxInfo($params);
}*/
if ($id <= 0)
return [ "code" => 101, "data" => "用户更新失败" ];
$jwt_data['id'] = $id;
$jwt_data['userNick'] = $user_nick;
$jwt_data['phone'] = $phone;
......
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