mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
@Mobile校验优化,支持自定义提示
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ public class AuthController {
|
||||
@OperateLog(enable = false)
|
||||
@Parameter(name = "mobile", description = "手机号", required = true)
|
||||
public CommonResult<Boolean> loginCheck(
|
||||
@Param("mobile") @NotEmpty(message = "手机号不能为空") @Mobile(ignoreWhenCheck = {"admin"}) String mobile) {
|
||||
@Param("mobile") @NotEmpty(message = "手机号不能为空") @Mobile(message = "账号密码不正确,请重新输入", ignoreWhenCheck = {"admin"}) String mobile) {
|
||||
return success(authService.loginCheck(mobile));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user