fix: 修复账号解绑bug
This commit is contained in:
@@ -211,13 +211,12 @@ class Third extends HomeController
|
||||
}
|
||||
|
||||
$where['type'] = $this->type;
|
||||
$where['user_id'] = request()->cookie('uid');
|
||||
$where['user_id'] = request()->userId;
|
||||
if (UserThird::where($where)->delete()) {
|
||||
return $this->success('解除绑定成功!');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $this->error();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user