Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
1073390e
Commit
1073390e
authored
Mar 24, 2022
by
xiangkun.gu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询订单超时时间,订单类型转换
parent
17317100
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
order-application-service/src/main/java/cn/freemud/controller/ExposureOrderController.java
+6
-1
No files found.
order-application-service/src/main/java/cn/freemud/controller/ExposureOrderController.java
View file @
1073390e
...
...
@@ -13,6 +13,7 @@ import cn.freemud.service.impl.PayServiceImpl;
import
cn.freemud.utils.ResponseUtil
;
import
com.freemud.application.sdk.api.log.ApiAnnotation
;
import
com.freemud.application.sdk.api.log.LogParams
;
import
com.freemud.application.sdk.api.ordercenter.adapter.OrderCenterSdkAdapter
;
import
com.freemud.sdk.api.assortment.message.enums.OrderType
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.validation.annotation.Validated
;
...
...
@@ -39,6 +40,9 @@ public class ExposureOrderController {
@Autowired
private
OrderQueueService
orderQueueService
;
@Autowired
private
OrderCenterSdkAdapter
orderCenterSdkAdapter
;
/**
* 创建支付单,查询支付配置
*/
...
...
@@ -101,9 +105,10 @@ public class ExposureOrderController {
@ApiAnnotation
(
logMessage
=
"获取超时时间"
)
@PostMapping
(
"/paySuccessTimeout"
)
public
BaseResponse
<
Integer
>
generateTackCode
(
@Validated
@LogParams
@RequestBody
GetPaySuccessTimeoutVo
getPaySuccessTimeoutVo
)
{
Integer
orderTye
=
orderCenterSdkAdapter
.
getOldOrderType
(
getPaySuccessTimeoutVo
.
getOrderType
());
Integer
tackCode
=
orderBusinessService
.
getPaySuccessTimeout
(
getPaySuccessTimeoutVo
.
getPartnerId
(),
getPaySuccessTimeoutVo
.
getStoreId
(),
getPaySuccessTimeoutVo
.
getOrderType
()
);
orderTye
);
return
ResponseUtil
.
success
(
tackCode
);
}
...
...
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