医生账号登录接口

master
heminjian502 2 years ago
parent ff85acbbbe
commit 7daba08f77

@ -74,7 +74,7 @@ public class SysLoginController
@PostMapping("/login/app")
public AjaxResult loginForApp(@RequestBody LoginBody loginBody) {
if (!"123456".equals(loginBody.getPassword())) {
throw new ServiceException("密码错误!");
return AjaxResult.error("密码错误");
}
return loginService.loginForApp(loginBody.getUsername(), loginBody.getPassword());
}

Loading…
Cancel
Save