Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
holmes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
holmes
Commits
216d1ba3
Commit
216d1ba3
authored
Mar 03, 2022
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update /api/order/selectJdOrder
parent
a5240a4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OrderController.java
...olmes/controller/mock/keystone/jdbuy/OrderController.java
+1
-1
No files found.
src/main/java/cn/qg/holmes/controller/mock/keystone/jdbuy/OrderController.java
View file @
216d1ba3
...
@@ -96,7 +96,7 @@ public class OrderController {
...
@@ -96,7 +96,7 @@ public class OrderController {
result
.
put
(
"orderTaxPrice"
,
orderNakedPrice
.
multiply
(
TAX
).
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
));
result
.
put
(
"orderTaxPrice"
,
orderNakedPrice
.
multiply
(
TAX
).
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
));
response
.
put
(
"result"
,
result
);
response
.
put
(
"result"
,
result
);
// 设置缓存,方便后面查询京东订单详情接口使用
// 设置缓存,方便后面查询京东订单详情接口使用
redisUtils
.
set
(
QYG_ORDER_PREFIX
+
jdOrderId
,
response
,
604800
);
redisUtils
.
set
(
QYG_ORDER_PREFIX
+
jdOrderId
,
response
.
toJSONString
()
,
604800
);
return
response
;
return
response
;
}
}
...
...
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