|
|
|
@ -63,7 +63,11 @@ class Login extends BaseService |
|
|
|
|
if (!$userInfo) { |
|
|
|
|
throwError("账号不存在"); |
|
|
|
|
} |
|
|
|
|
if ($userInfo['password'] && ($userInfo['password'] != md5($data['password']))) { |
|
|
|
|
if (empty($userInfo['password'])) { |
|
|
|
|
throwError("用户密码为空,请联系管理员"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($userInfo['password'] !== md5($data['password'])) { |
|
|
|
|
throwError("密码不正确"); |
|
|
|
|
} |
|
|
|
|
$this->updateUser($userInfo, $data['isParty'], $data['partyData']); |
|
|
|
|