Commit 0c33a775 by 袁伟铭

1.0.0

parent ea01a50c
package com.zq.user.controller;
package com.zq.user.controller.app;
import com.zq.common.utils.AssertUtils;
......@@ -30,7 +30,7 @@ public class UserController {
}
@ApiOperation("重置登录密码")
@PostMapping(value = "/resetPassword")
@PostMapping(value = "/resetPasswd")
public ResultVo resetPassword(@RequestBody LoginVo vo) {
AssertUtils.hasText(vo.getPhone(), "手机号不能为空");
AssertUtils.isTrue(ValidateUtil.isMobilePhoneNo(vo.getPhone()), "手机号格式不正确");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment