## 找回根据手机号发送短信;
This commit is contained in:
parent
04f8c45c38
commit
82f1fa5a2b
|
@ -28,6 +28,18 @@ public class ApiSmsController extends BaseController {
|
|||
@Autowired
|
||||
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