Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
communication
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
communication
Commits
bfe77e34
Commit
bfe77e34
authored
May 18, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
语音参数修改 gengdidi
parent
a44a3015
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
VoiceNotifyServiceImpl.java
...ng/communication/service/impl/VoiceNotifyServiceImpl.java
+3
-3
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/com/zehong/communication/service/impl/VoiceNotifyServiceImpl.java
View file @
bfe77e34
...
...
@@ -29,8 +29,8 @@ public class VoiceNotifyServiceImpl implements VoiceNotifyService {
@Value
(
"${batchVoiceNotifyURL}"
)
private
String
batchVoiceNotifyURL
;
@Value
(
"${displayNum}"
)
private
String
displayNum
;
/*
@Value("${displayNum}")
private String displayNum;
*/
@Override
public
Result
sendVoiceNotify
(
SendVoiceNotify
sendVoiceNotify
)
throws
IOException
,
URISyntaxException
{
...
...
@@ -55,7 +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
);
//
params.put("displayNum",displayNum);
return
params
;
}
}
src/main/resources/application.yml
View file @
bfe77e34
...
...
@@ -49,7 +49,7 @@ secretKey: f225e66813e6d6a663daf919c1935dcb
isWriteLocal
:
true
#语音发送限制去除
displayNum
:
0820211216
#
displayNum: 0820211216
logging
:
# 设置logback.xml位置
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment