Commit a44a3015 authored by 耿迪迪's avatar 耿迪迪

语音发送服务修改 gengdidi

parent ade4db6b
......@@ -29,6 +29,9 @@ public class VoiceNotifyServiceImpl implements VoiceNotifyService {
@Value("${batchVoiceNotifyURL}")
private String batchVoiceNotifyURL;
@Value("${displayNum}")
private String displayNum;
@Override
public Result sendVoiceNotify(SendVoiceNotify sendVoiceNotify) throws IOException, URISyntaxException {
Map<String,Object> params = getParams();
......@@ -52,6 +55,7 @@ public class VoiceNotifyServiceImpl implements VoiceNotifyService {
Map<String,Object> params = new HashMap<>();
params.put("appId",appId);
params.put("appKey",appKey);
params.put("displayNum",displayNum);
return params;
}
}
......@@ -34,11 +34,13 @@ appKey: IE5F7Jih
batchVoiceNotifyURL: https://api.253.com/open/notify/batch-voice-notify
#阿里云发送短信或批量发送短信
accessKeyId: LTAI2xiZNF3iV2aV
accessKeySecret: bprEWwn1M0xgglRQCQEMYSPiYctDk4
#accessKeyId: LTAI2xiZNF3iV2aV
#accessKeySecret: bprEWwn1M0xgglRQCQEMYSPiYctDk4
accessKeyId: LTAI5tC2wUxESqPG5FpmP2DX
accessKeySecret: THvYOSu8EKvz3Hk7s8nDTQ11Y8kPH7
#ip白名单
iPWhite: 36.148.1.58,120.0.70.251
iPWhite: 36.148.1.58,121.29.172.242,111.61.77.35,27.128.170.124,36.148.1.58,101.16.95.194
#秘钥
secretKey: f225e66813e6d6a663daf919c1935dcb
......@@ -46,6 +48,9 @@ secretKey: f225e66813e6d6a663daf919c1935dcb
#是否写入本地
isWriteLocal: true
#语音发送限制去除
displayNum: 0820211216
logging:
# 设置logback.xml位置
# config: classpath:logback.xml
......
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