记得上下班打卡 | 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
c3cf0606
Commit
c3cf0606
authored
Dec 09, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加日志
parent
82b69e29
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
application-dev.yml
liquidnet-bus-config/liquidnet-config/application-dev.yml
+10
-10
MaoDengImageHandler.java
.../liquidnet/service/sweet/handler/MaoDengImageHandler.java
+3
-2
No files found.
liquidnet-bus-config/liquidnet-config/application-dev.yml
View file @
c3cf0606
...
...
@@ -32,11 +32,11 @@ liquidnet:
disable
:
false
redis
:
kylin
:
dbs
:
0,
1
6
database
:
1
5
host
:
39.107.71.112
port
:
63
79
password
:
3Xa%8p
dbs
:
0,
25
6
database
:
25
5
host
:
r-2ze7002ckw5u75fgukpd.redis.rds.aliyuncs.com
port
:
63
80
password
:
PO@B!Iud32
dragon
:
dbs
:
0,16
database
:
15
...
...
@@ -44,11 +44,11 @@ liquidnet:
port
:
6379
password
:
3Xa%8p
sweet
:
dbs
:
0,
1
6
database
:
1
5
host
:
39.107.71.112
port
:
63
79
password
:
3Xa%8p
dbs
:
0,
25
6
database
:
25
5
host
:
r-2ze7002ckw5u75fgukpd.redis.rds.aliyuncs.com
port
:
63
80
password
:
PO@B!Iud32
adam
:
dbs
:
0,16
database
:
15
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/handler/MaoDengImageHandler.java
View file @
c3cf0606
...
...
@@ -76,6 +76,7 @@ public class MaoDengImageHandler implements WxMpMessageHandler {
ResponseDto
<
UploadVo
>
dto
=
JsonUtils
.
fromJson
(
returnData
,
new
TypeReference
<
ResponseDto
<
UploadVo
>>()
{
});
picUrl
=
"https://img.zhengzai.tv/"
.
concat
(
dto
.
getData
().
getOssPath
());
log
.
debug
(
"[NEW PIC] = "
+
picUrl
);
}
}
catch
(
Exception
e
)
{
e
.
getMessage
();
...
...
@@ -90,7 +91,7 @@ public class MaoDengImageHandler implements WxMpMessageHandler {
}
String
maoId
=
IDGenerator
.
nextSnowId
();
redisUtils
.
setSweetMaoDeng
(
sweetMaoDengVo
,
maoId
);
redisUtils
.
setSweetMaoDeng
(
sweetMaoDengVo
,
maoId
);
if
(
StringUtil
.
isNotEmpty
(
textMsg
)
&&
StringUtil
.
isNotEmpty
(
picUrl
))
{
//redis队列入库
...
...
@@ -107,7 +108,7 @@ public class MaoDengImageHandler implements WxMpMessageHandler {
// 发送活动小程序卡片
WxMpKefuMessage
message
=
WxMpKefuMessage
.
MINIPROGRAMPAGE
()
.
appId
(
maConfigure
.
getWxMaAppid
(
4
))
.
pagePath
(
"pages/webview?query=catActivity&maoId="
+
maoId
)
//小程序路径
.
pagePath
(
"pages/webview?query=catActivity&maoId="
+
maoId
)
//小程序路径
.
thumbMediaId
(
"ov08q51In7bXX6tXv7Few-ud2-J-hyXnDC5NCNSfc_4"
)
// 正在
// .thumbMediaId("ttUDFdcsOTnGFPBt5xp-vaYe_hS9Jae5C_YUboXmb4c") //test
// .thumbMediaId("OFjnPjluDGoHH1KOAdxQ_iMyWpBe_c48V40LlN6VmAQ") //图片地址
...
...
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