Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
95558238
Commit
95558238
authored
Jun 19, 2020
by
dengshichuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dsc' into 'develop'
短信签名和注释中间要加个空格 See merge request 8timerv2/8timerapiv200!231
parents
a03f9a65
6dc91149
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
src/main/java/cn/timer/api/utils/aliyun/AliyunSMS.java
+1
-2
src/main/resources/application-dev.yml
+1
-1
src/main/resources/application-pro.yml
+1
-1
src/main/resources/application-test.yml
+1
-1
No files found.
src/main/java/cn/timer/api/utils/aliyun/AliyunSMS.java
View file @
95558238
...
...
@@ -109,7 +109,6 @@ public class AliyunSMS {
request
.
putQueryParameter
(
"RegionId"
,
REGION_ID
);
request
.
putQueryParameter
(
"PhoneNumbers"
,
phone
);
request
.
putQueryParameter
(
"SignName"
,
PROJECT_NAME
);
switch
(
templateCode
)
{
case
1
:
request
.
putQueryParameter
(
CODE_NAME
,
PinType
.
AUTHENTICATION
.
getCode
());
...
...
@@ -145,8 +144,8 @@ public class AliyunSMS {
String
a
=
null
;
try
{
response
=
client
.
getCommonResponse
(
request
);
a
=
response
.
getData
();
// System.err.println("response:"+a); // 短信服务响应内容
}
catch
(
ServerException
e
)
{
e
.
printStackTrace
();
}
catch
(
ClientException
e
)
{
...
...
src/main/resources/application-dev.yml
View file @
95558238
...
...
@@ -176,7 +176,7 @@ config-8timer:
register-company-max-num
:
100
#默认最大公司数量
register-childAccount-max-num
:
10
#默认最大子账号数量
Aliyun
:
# 阿里云
PROJECT_NAME
:
8小时协同办公#8小时人事管家
PROJECT_NAME
:
8小时协同办公
#8小时人事管家
REGION_ID
:
cn-shenzhen
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
SECRET
:
EJ6qToT4T4u0B5Rb6qrta9WkyGHvGR
...
...
src/main/resources/application-pro.yml
View file @
95558238
...
...
@@ -151,7 +151,7 @@ config-8timer:
register-company-max-num
:
100
register-childAccount-max-num
:
10
Aliyun
:
# 阿里云
PROJECT_NAME
:
8小时协同办公#8小时人事管家
PROJECT_NAME
:
8小时协同办公
#8小时人事管家
REGION_ID
:
cn-shenzhen
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
SECRET
:
EJ6qToT4T4u0B5Rb6qrta9WkyGHvGR
...
...
src/main/resources/application-test.yml
View file @
95558238
...
...
@@ -150,7 +150,7 @@ config-8timer:
register-company-max-num
:
100
register-childAccount-max-num
:
10
Aliyun
:
# 阿里云
PROJECT_NAME
:
8小时协同办公#8小时人事管家
PROJECT_NAME
:
8小时协同办公
#8小时人事管家
REGION_ID
:
cn-shenzhen
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
SECRET
:
EJ6qToT4T4u0B5Rb6qrta9WkyGHvGR
...
...
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