This commit is contained in:
knowpia
2022-09-20 09:44:57 +08:00
parent e08e274ad1
commit 10a3bcea47
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ class User
return show("验证码不正确!");
}
Db::name("app_users")->where("id",$userid)->update(['identity'=>1]);
Db::name("app_users")->where("id",$userid)->update(['identity'=>1,'shiyou_id'=>$res['id']]);
return show("狮友认证成功!",SUCCESS_CODE,[]);
}