@ -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());