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
e73226d8
Commit
e73226d8
authored
Apr 10, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂时注销短信
parent
58c24812
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
UnitInfoServiceImpl.java
...oot/module/hygf/biz/service/impl/UnitInfoServiceImpl.java
+10
-9
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/UnitInfoServiceImpl.java
View file @
e73226d8
...
...
@@ -377,6 +377,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
Privilege
.
agencyUserClient
.
multDeleteUser
(
userResult
.
getResult
().
getUserId
());
}
log
.
error
(
e
.
getMessage
(),
e
);
e
.
printStackTrace
();
throw
new
BadRequest
(
e
.
getMessage
());
}
}
...
...
@@ -578,8 +579,8 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
params
.
put
(
"mobile"
,
unitInfo
.
getAdminPhone
());
params
.
put
(
"smsCode"
,
SMSTEMPCODENO
);
approvalStatue
=
"任务明细:"
+
DealerReviewEnum
.
经销商管理员审核
.
getName
()+
"审核不通过"
;
FeignClientResult
<
SmsRecordModel
>
date
=
Systemctl
.
smsClient
.
sendCommonSms
(
params
);
System
.
out
.
println
(
"短信通知============================"
+
JSON
.
toJSONString
(
date
));
//
FeignClientResult<SmsRecordModel> date= Systemctl.smsClient.sendCommonSms(params);
//
System.out.println("短信通知============================"+JSON.toJSONString(date));
}
else
{
// 1. 更新经销商状态
unitInfo
.
setAuditStatus
(
2
);
...
...
@@ -625,12 +626,12 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
// Privilege.agencyUserClient.unlockUsers(unitInfo.getAdminUserId());
approvalStatue
=
"任务明细:"
+
DealerReviewEnum
.
经销商管理员审核
.
getName
()+
"审核通过"
;
HashMap
<
String
,
String
>
params
=
new
HashMap
<>(
3
);
params
.
put
(
"code"
,
"通过"
);
params
.
put
(
"mobile"
,
unitInfo
.
getAdminPhone
());
params
.
put
(
"smsCode"
,
SMSTEMPCODEYES
);
FeignClientResult
<
SmsRecordModel
>
date
=
Systemctl
.
smsClient
.
sendCommonSms
(
params
);
System
.
out
.
println
(
"短信通知============================"
+
JSON
.
toJSONString
(
date
));
//
HashMap<String, String> params = new HashMap<>(3);
//
params.put("code","通过");
//
params.put("mobile",unitInfo.getAdminPhone());
//
params.put("smsCode", SMSTEMPCODEYES);
//
FeignClientResult<SmsRecordModel> date= Systemctl.smsClient.sendCommonSms(params);
//
System.out.println("短信通知============================"+JSON.toJSONString(date));
}
}
...
...
@@ -679,7 +680,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto,UnitInfo,UnitIn
}
e
.
printStackTrace
();
throw
new
BaseException
(
"获取工作流节点失败!"
,
"400"
,
"获取工作流节点失败!"
);
...
...
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