feat: 修改登录控制器以获取更新用户信息
This commit is contained in:
parent
5b8d129abd
commit
cba0505f63
@ -77,7 +77,7 @@ class LoginController extends BaseApiController
|
||||
*/
|
||||
public function updateUser()
|
||||
{
|
||||
$params = (new WechatLoginValidate())->post()->goCheck("updateUser");
|
||||
$params = $this->request->post();
|
||||
$result = LoginLogic::updateUser($params, $this->userId);
|
||||
if ($result === false) {
|
||||
return $this->fail(LoginLogic::getError());
|
||||
|
Loading…
x
Reference in New Issue
Block a user