记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
55ca4d5f
Commit
55ca4d5f
authored
Aug 05, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msg 跳转
parent
b103f13b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
application-dev.yml
liquidnet-bus-config/liquidnet-config/application-dev.yml
+1
-0
application-test.yml
liquidnet-bus-config/liquidnet-config/application-test.yml
+1
-0
SweetWechatTemplateServiceImpl.java
...ce/sweet/service/impl/SweetWechatTemplateServiceImpl.java
+5
-3
No files found.
liquidnet-bus-config/liquidnet-config/application-dev.yml
View file @
55ca4d5f
...
...
@@ -72,6 +72,7 @@ liquidnet:
phpPayUrl
:
http://devdragon.zhengzai.tv
phpMallUrl
:
https://devmall.zhengzai.tv
platformUrl
:
https://devplatform.zhengzai.tv
h5Url
:
https://devm.zhengzai.tv
shunfeng
:
url
:
"
https://butler-dev-ms.sf-express.com"
sk
:
21e9a70f677a2bf29dfa2b3bead4f018
...
...
liquidnet-bus-config/liquidnet-config/application-test.yml
View file @
55ca4d5f
...
...
@@ -73,6 +73,7 @@ liquidnet:
phpPayUrl
:
http://testdragon.zhengzai.tv
phpMallUrl
:
https://testmall.zhengzai.tv
platformUrl
:
https://testplatform.zhengzai.tv
h5Url
:
https://devm.zhengzai.tv
shunfeng
:
url
:
"
https://butler-dev-ms.sf-express.com"
sk
:
21e9a70f677a2bf29dfa2b3bead4f018
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetWechatTemplateServiceImpl.java
View file @
55ca4d5f
...
...
@@ -40,6 +40,8 @@ public class SweetWechatTemplateServiceImpl {
private
String
appid
;
@Value
(
"${liquidnet.wechat.zhengzai.service.secret}"
)
private
String
secret
;
@Value
(
"${liquidnet.client.admin.h5Url}"
)
private
String
h5Url
;
@Autowired
private
RedisDataUtils
redisDataUtils
;
...
...
@@ -77,14 +79,14 @@ public class SweetWechatTemplateServiceImpl {
// 模板id
.
templateId
(
templateId
)
// 模板跳转链接
// .url(""
)
.
url
(
h5Url
.
concat
(
"/#/ticket/detail?id="
).
concat
(
remindInfo
.
getPerformancesId
())
)
.
build
();
// 添加模板数据
templateMessage
.
addData
(
new
WxMpTemplateData
(
"first"
,
"您
好
"
))
templateMessage
.
addData
(
new
WxMpTemplateData
(
"first"
,
"您
关注的演出即将开始售票
"
))
.
addData
(
new
WxMpTemplateData
(
"keyword1"
,
performanceVo
.
getTitle
()))
.
addData
(
new
WxMpTemplateData
(
"keyword2"
,
kylinTicketTimesVo
.
getTitle
()))
.
addData
(
new
WxMpTemplateData
(
"keyword3"
,
performanceVo
.
getFieldName
()))
.
addData
(
new
WxMpTemplateData
(
"remark"
,
"
备注
"
));
.
addData
(
new
WxMpTemplateData
(
"remark"
,
"
点击这里跳转购票
"
));
String
msgId
=
null
;
try
{
// 发送模板消息
...
...
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