Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
5e69df61
Commit
5e69df61
authored
Jul 12, 2023
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改短信对接平台
parent
0a261b69
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
UnitInfoController.java
...s/boot/module/hygf/biz/controller/UnitInfoController.java
+2
-4
application-dev.properties
...le-hygf-biz/src/main/resources/application-dev.properties
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/UnitInfoController.java
View file @
5e69df61
...
@@ -254,10 +254,8 @@ public class UnitInfoController extends BaseController {
...
@@ -254,10 +254,8 @@ public class UnitInfoController extends BaseController {
params
.
put
(
"mobile"
,
tel
);
params
.
put
(
"mobile"
,
tel
);
params
.
put
(
"smsCode"
,
smsTempCode
);
params
.
put
(
"smsCode"
,
smsTempCode
);
try
{
try
{
String
[]
templateParas
=
{
code
};
// sendSmsCode.sendSmsCode(tel, s);
String
s
=
Arrays
.
toString
(
templateParas
);
Systemctl
.
smsClient
.
sendCommonSms
(
params
).
getResult
();
sendSmsCode
.
sendSmsCode
(
tel
,
s
);
// Systemctl.smsClient.sendCommonSms(params).getResult();
// code 保存到缓存中
// code 保存到缓存中
redisUtil
.
set
(
HYGF_USER_TEL
+
tel
,
code
,
time
);
redisUtil
.
set
(
HYGF_USER_TEL
+
tel
,
code
,
time
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/resources/application-dev.properties
View file @
5e69df61
...
@@ -90,7 +90,7 @@ regulator.unit.code=86*258
...
@@ -90,7 +90,7 @@ regulator.unit.code=86*258
# 经销商应用code
# 经销商应用code
dealer.appcode
=
studio_normalapp_5133538
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
sms.huawei.url
=
https://smsapi.cn-north-4.myhuaweicloud.com:443/sms/batchSendSms/v1
...
...
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