解决手机验证码第一位是零显示不出来的问题

This commit is contained in:
lyf 2023-03-14 18:22:07 +08:00
parent 8b4dd3fe1e
commit 6ef533af5a
2 changed files with 3 additions and 3 deletions

View File

@ -257,7 +257,7 @@ public class ValidateCodeUtil {
com.aliyun.dysmsapi20170525.models.SendSmsRequest sendSmsRequest = new com.aliyun.dysmsapi20170525.models.SendSmsRequest()
.setSignName("超掌柜")
.setTemplateCode("SMS_244665149")
.setTemplateParam("{\"code\":" + checkCode + "}")
.setTemplateParam("{\"code\":" +"'"+checkCode +"'"+"}")
.setPhoneNumbers(phone);
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();

View File

@ -97,10 +97,10 @@ parameter:
ALI_APP_ID: 支付宝原生接入的APPID
ALI_RATE: 0.006
ALI_RETURN_URL: ${parameter.domain}/wap/aliPay/returnUrl
APPID: wx8f4f3d7cef4a6848
APPID: wx212769170d2c6b2a
# wxfffc7bff64c7a11e
#小程序付款APPID
APPLETS_APPID: wx212769170d2c6b2a
APPLETS_APPID: wxfffc7bff64c7a11e
APPSECRET: 4e00bbf3fc75a1ff68ce866fd13f2bcc
# b84ee0efaa0d9a649746ac65525f8e10
KEY: 微信原生加密用的KEY