Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-smartcarlife
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b142f18f
authored
Jun 30, 2026
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
refactor(notification): 优化审批通知消息模板
- 移除待办注释并完善URL配置 - 简化通知描述文案格式 - 统一消息卡片标题和描述内容结构
1 parent
0b8ef04f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
rpc-dj-smartcarlife/src/main/java/cn/com/glsx/dj/smartcarlife/service/merchantPerformanceConfig/StaffAccountApprovalService.java
rpc-dj-smartcarlife/src/main/java/cn/com/glsx/dj/smartcarlife/service/merchantPerformanceConfig/StaffAccountApprovalService.java
View file @
b142f18
...
@@ -200,12 +200,11 @@ public class StaffAccountApprovalService {
...
@@ -200,12 +200,11 @@ public class StaffAccountApprovalService {
WorkWechatTextCardMessageDTO
textCard
=
new
WorkWechatTextCardMessageDTO
();
WorkWechatTextCardMessageDTO
textCard
=
new
WorkWechatTextCardMessageDTO
();
textCard
.
setBtnTxt
(
"去处理"
);
textCard
.
setBtnTxt
(
"去处理"
);
// --todo url待前端定义
String
url
=
env
.
getProperty
(
"dj.send.work.wait.approval.notification.url"
);
String
url
=
env
.
getProperty
(
"dj.send.work.wait.approval.notification.url"
);
textCard
.
setUrl
(
String
.
format
(
url
,
approval
.
getId
(),
approval
.
getStaffId
(),
approval
.
getStaffName
()));
textCard
.
setUrl
(
String
.
format
(
url
,
approval
.
getId
(),
approval
.
getStaffId
(),
approval
.
getStaffName
()));
log
.
info
(
"提交审批通知推送,merchantId:{},url:{}"
,
approval
.
getMerchantId
(),
JSON
.
toJSONString
(
textCard
.
getUrl
()));
log
.
info
(
"提交审批通知推送,merchantId:{},url:{}"
,
approval
.
getMerchantId
(),
JSON
.
toJSONString
(
textCard
.
getUrl
()));
textCard
.
setDescription
(
textCard
.
setDescription
(
String
.
format
(
"你好,【
区域运营姓名%s】在【门店名称%s】发起【员工姓名
%s】开生意助手录单账号,请及时处理审批。"
,
String
.
format
(
"你好,【
%s】在【%s】发起【
%s】开生意助手录单账号,请及时处理审批。"
,
submitterName
,
merchantName
,
staffName
));
submitterName
,
merchantName
,
staffName
));
textCard
.
setTitle
(
"【新员工开账号/调店审批通知】"
);
textCard
.
setTitle
(
"【新员工开账号/调店审批通知】"
);
request
.
setTextCard
(
textCard
);
request
.
setTextCard
(
textCard
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment