Commit 5e69df61 authored by xixinzhao's avatar xixinzhao

修改短信对接平台

parent 0a261b69
......@@ -254,10 +254,8 @@ public class UnitInfoController extends BaseController {
params.put("mobile",tel);
params.put("smsCode", smsTempCode);
try {
String[] templateParas = {code};
String s = Arrays.toString(templateParas);
sendSmsCode.sendSmsCode(tel, s);
// Systemctl.smsClient.sendCommonSms(params).getResult();
// sendSmsCode.sendSmsCode(tel, s);
Systemctl.smsClient.sendCommonSms(params).getResult();
// code 保存到缓存中
redisUtil.set(HYGF_USER_TEL + tel, code, time);
} catch (Exception e) {
......
......@@ -90,7 +90,7 @@ regulator.unit.code=86*258
# 经销商应用code
dealer.appcode=studio_normalapp_5133538
hygf.sms.tempCode=SMS_TZS_0001
hygf.sms.tempCode=SMS_HYGF_0001
# 华为短信相关配置
sms.huawei.url=https://smsapi.cn-north-4.myhuaweicloud.com:443/sms/batchSendSms/v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment