| | |
| | | @ResponseBody |
| | | @GetMapping("/base/appUser/getAppUserByPhone/{phone}") |
| | | public TAppUser getAppUserByPhone(@PathVariable("phone") String phone) { |
| | | TAppUser appUser = appUserService.getOne(new QueryWrapper<TAppUser>().eq("phone", phone)); |
| | | TAppUser appUser = appUserService.getOne(new QueryWrapper<TAppUser>().eq("phone", phone) |
| | | .eq("state",1)); |
| | | return appUser; |
| | | } |
| | | |
| | |
| | | @ResponseBody |
| | | @PostMapping("/base/appUser/loginSMSCode") |
| | | @ApiOperation(value = "短信验证码登录", tags = {"APP-登录注册"}) |
| | | @ApiImplicitParams({ |
| | | }) |
| | | |
| | | public ResultUtil<String> loginSMSCode(LoginSMSCodeVo loginSMSCodeVo) { |
| | | try { |
| | | return appUserService.loginSMSCode(loginSMSCodeVo); |