Commit 235a555b77b86883aa0ddd8a5683861988116f43
1 parent
6869241373
Exists in
master
and in
8 other branches
增加退出登录接口
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java
View file @
235a555
| ... | ... | @@ -218,7 +218,7 @@ |
| 218 | 218 | ResultUtils.buildParameterErrorResultAndWrite(httpServletResponse); |
| 219 | 219 | return; |
| 220 | 220 | } |
| 221 | - if(!phone.matches("^(((13[0-9]{1})|(15[0-9]{1})|(17[0-9]{1})|(18[0-9]{1}))+d{8})$")) { | |
| 221 | + if(!phone.matches("^(((13[0-9]{1})|(15[0-9]{1})|(17[0-9]{1})|(18[0-9]{1}))+\\d{8})$")) { | |
| 222 | 222 | ResultUtils.buildParameterErrorResultAndWrite(httpServletResponse, "手机号不正确!"); |
| 223 | 223 | return; |
| 224 | 224 | } |