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
6dc91149
Commit
6dc91149
authored
Jun 19, 2020
by
邓实川
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
短信签名和注释中间要加个空格
parent
a03f9a65
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 @
6dc91149
...
@@ -109,7 +109,6 @@ public class AliyunSMS {
...
@@ -109,7 +109,6 @@ public class AliyunSMS {
request
.
putQueryParameter
(
"RegionId"
,
REGION_ID
);
request
.
putQueryParameter
(
"RegionId"
,
REGION_ID
);
request
.
putQueryParameter
(
"PhoneNumbers"
,
phone
);
request
.
putQueryParameter
(
"PhoneNumbers"
,
phone
);
request
.
putQueryParameter
(
"SignName"
,
PROJECT_NAME
);
request
.
putQueryParameter
(
"SignName"
,
PROJECT_NAME
);
switch
(
templateCode
)
{
switch
(
templateCode
)
{
case
1
:
case
1
:
request
.
putQueryParameter
(
CODE_NAME
,
PinType
.
AUTHENTICATION
.
getCode
());
request
.
putQueryParameter
(
CODE_NAME
,
PinType
.
AUTHENTICATION
.
getCode
());
...
@@ -145,8 +144,8 @@ public class AliyunSMS {
...
@@ -145,8 +144,8 @@ public class AliyunSMS {
String
a
=
null
;
String
a
=
null
;
try
{
try
{
response
=
client
.
getCommonResponse
(
request
);
response
=
client
.
getCommonResponse
(
request
);
a
=
response
.
getData
();
a
=
response
.
getData
();
// System.err.println("response:"+a); // 短信服务响应内容
}
catch
(
ServerException
e
)
{
}
catch
(
ServerException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
catch
(
ClientException
e
)
{
}
catch
(
ClientException
e
)
{
...
...
src/main/resources/application-dev.yml
View file @
6dc91149
...
@@ -176,7 +176,7 @@ config-8timer:
...
@@ -176,7 +176,7 @@ config-8timer:
register-company-max-num
:
100
#默认最大公司数量
register-company-max-num
:
100
#默认最大公司数量
register-childAccount-max-num
:
10
#默认最大子账号数量
register-childAccount-max-num
:
10
#默认最大子账号数量
Aliyun
:
# 阿里云
Aliyun
:
# 阿里云
PROJECT_NAME
:
8小时协同办公#8小时人事管家
PROJECT_NAME
:
8小时协同办公
#8小时人事管家
REGION_ID
:
cn-shenzhen
REGION_ID
:
cn-shenzhen
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
SECRET
:
EJ6qToT4T4u0B5Rb6qrta9WkyGHvGR
SECRET
:
EJ6qToT4T4u0B5Rb6qrta9WkyGHvGR
...
...
src/main/resources/application-pro.yml
View file @
6dc91149
...
@@ -151,7 +151,7 @@ config-8timer:
...
@@ -151,7 +151,7 @@ config-8timer:
register-company-max-num
:
100
register-company-max-num
:
100
register-childAccount-max-num
:
10
register-childAccount-max-num
:
10
Aliyun
:
# 阿里云
Aliyun
:
# 阿里云
PROJECT_NAME
:
8小时协同办公#8小时人事管家
PROJECT_NAME
:
8小时协同办公
#8小时人事管家
REGION_ID
:
cn-shenzhen
REGION_ID
:
cn-shenzhen
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
SECRET
:
EJ6qToT4T4u0B5Rb6qrta9WkyGHvGR
SECRET
:
EJ6qToT4T4u0B5Rb6qrta9WkyGHvGR
...
...
src/main/resources/application-test.yml
View file @
6dc91149
...
@@ -150,7 +150,7 @@ config-8timer:
...
@@ -150,7 +150,7 @@ config-8timer:
register-company-max-num
:
100
register-company-max-num
:
100
register-childAccount-max-num
:
10
register-childAccount-max-num
:
10
Aliyun
:
# 阿里云
Aliyun
:
# 阿里云
PROJECT_NAME
:
8小时协同办公#8小时人事管家
PROJECT_NAME
:
8小时协同办公
#8小时人事管家
REGION_ID
:
cn-shenzhen
REGION_ID
:
cn-shenzhen
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
ACCESSKEY_ID
:
LTAI4FuaShJWQ1dggsFWG5CC
SECRET
:
EJ6qToT4T4u0B5Rb6qrta9WkyGHvGR
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