发送短信

This commit is contained in:
zhangqinbin
2023-09-01 16:57:51 +08:00
parent a28b3502e0
commit c6850b21e6

View File

@ -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);