发送短信
This commit is contained in:
@ -43,8 +43,8 @@ public class BizShortMessageController{
|
|||||||
* authCode 验证码
|
* authCode 验证码
|
||||||
* callbackUrl UrlEncode编码 应用系统回调确认用户有效性的地址,应用系统传了这个地址则用户有效性由该地址确定
|
* callbackUrl UrlEncode编码 应用系统回调确认用户有效性的地址,应用系统传了这个地址则用户有效性由该地址确定
|
||||||
*/
|
*/
|
||||||
@PostMapping("/send/authCode")
|
@GetMapping("/send/authCode")
|
||||||
public BaseResponse<Boolean> authCodeSend(@RequestParam String mobile){
|
public BaseResponse<Boolean> authCodeSend(@RequestParam(name = "mobile") String mobile){
|
||||||
log.info("解密前:"+mobile);
|
log.info("解密前:"+mobile);
|
||||||
String value = RSA.decrypt(mobile,privateKey);
|
String value = RSA.decrypt(mobile,privateKey);
|
||||||
log.info("解密后:"+value);
|
log.info("解密后:"+value);
|
||||||
|
Reference in New Issue
Block a user