Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mall-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
yimu
mall-server
Commits
af17aa9d
Commit
af17aa9d
authored
Mar 09, 2022
by
wlx@33.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重试时间加长为20s
parent
7ed265e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
WithdrawConsumer.java
...rver/admin/mq/consumer/order_center/WithdrawConsumer.java
+4
-1
UserAssetTransferConsumer.java
...l/server/front/mq/consumer/UserAssetTransferConsumer.java
+4
-1
No files found.
mall-server-admin/src/main/java/com/fzm/mall/server/admin/mq/consumer/order_center/WithdrawConsumer.java
View file @
af17aa9d
...
...
@@ -146,8 +146,11 @@ public class WithdrawConsumer {
String
hash
=
getHash
(
tranDto
);
tranDto
.
setHash
(
hash
);
}
/**
* 重试时间加长为20s
*/
msgProducer
.
sendTTL
(
JSON
.
toJSONString
(
tranDto
),
QueueTTLTypeEnum
.
ORDER_REFUND_COINS_TTL
,
5
*
1000
);
20
*
1000
);
}
private
String
getHash
(
TranDto
tranDto
)
{
...
...
mall-server-front/src/main/java/com/fzm/mall/server/front/mq/consumer/UserAssetTransferConsumer.java
View file @
af17aa9d
...
...
@@ -170,8 +170,11 @@ public class UserAssetTransferConsumer {
String
hash
=
getHash
(
tranDto
);
tranDto
.
setHash
(
hash
);
}
/**
* 重试时间加长为20s
*/
msgProducer
.
sendTTL
(
JSON
.
toJSONString
(
tranDto
),
QueueTTLTypeEnum
.
MALL_USER_ASSET_TRANSFER_TTL
,
5
*
1000
);
20
*
1000
);
}
private
String
getHash
(
TranDto
tranDto
)
{
...
...
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