## 找回根据手机号发送短信;
This commit is contained in:
parent
ee43e31083
commit
27da75306b
|
@ -28,6 +28,18 @@ public class ApiSmsController extends BaseController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ICuMemberService iCuMemberService;
|
private ICuMemberService iCuMemberService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 登录用户根据手机号发送短信
|
||||||
|
*
|
||||||
|
* @param phone 手机号码
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RepeatSubmitSimple
|
||||||
|
@GetMapping("/verification")
|
||||||
|
public AjaxResult verification(@RequestParam(required = false) String phone) {
|
||||||
|
return toAjax(iApiAliSmsService.sendCode(phone, null, null, SecurityUtils.getUserId()));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 登录用户发送短信
|
* 登录用户发送短信
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue