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
2b7d9032
Commit
2b7d9032
authored
Dec 01, 2021
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付退款日志打印
parent
c287f8a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
order-application-service/src/main/java/cn/freemud/service/impl/PayServiceImpl.java
+1
-0
order-management/src/main/java/cn/freemud/management/service/handle/PaymentHandle.java
+5
-0
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/PayServiceImpl.java
View file @
2b7d9032
...
@@ -1345,6 +1345,7 @@ public class PayServiceImpl {
...
@@ -1345,6 +1345,7 @@ public class PayServiceImpl {
if
(
refundNewResponse
==
null
){
if
(
refundNewResponse
==
null
){
return
null
;
return
null
;
}
}
AppLogUtil
.
infoLog
(
"paymentcenter/refund"
,
JSONObject
.
toJSONString
(
request
),
JSONObject
.
toJSONString
(
refundNewResponse
));
if
(
Objects
.
equals
(
refundNewResponse
.
getCode
(),
"100"
))
{
if
(
Objects
.
equals
(
refundNewResponse
.
getCode
(),
"100"
))
{
PayRefundData
refundData
=
refundNewResponse
.
getData
();
PayRefundData
refundData
=
refundNewResponse
.
getData
();
if
(
null
!=
refundData
)
{
if
(
null
!=
refundData
)
{
...
...
order-management/src/main/java/cn/freemud/management/service/handle/PaymentHandle.java
View file @
2b7d9032
...
@@ -12,6 +12,7 @@ import cn.freemud.management.thirdparty.MulitiPaymentClient;
...
@@ -12,6 +12,7 @@ import cn.freemud.management.thirdparty.MulitiPaymentClient;
import
cn.freemud.management.thirdparty.OMSPaymentClient
;
import
cn.freemud.management.thirdparty.OMSPaymentClient
;
import
cn.freemud.management.util.RedisUtil
;
import
cn.freemud.management.util.RedisUtil
;
import
cn.freemud.redis.RedisCache
;
import
cn.freemud.redis.RedisCache
;
import
com.alibaba.fastjson.JSONObject
;
import
com.freemud.api.assortment.datamanager.entity.db.AssortmentOpenPlatformIappWxappStore
;
import
com.freemud.api.assortment.datamanager.entity.db.AssortmentOpenPlatformIappWxappStore
;
import
com.freemud.api.assortment.datamanager.manager.AssortmentOpenPlatformIappWxappStoreManager
;
import
com.freemud.api.assortment.datamanager.manager.AssortmentOpenPlatformIappWxappStoreManager
;
import
com.freemud.application.sdk.api.base.BaseResponse
;
import
com.freemud.application.sdk.api.base.BaseResponse
;
...
@@ -21,6 +22,7 @@ import com.freemud.application.sdk.api.ordercenter.request.OrderExtInfoDto;
...
@@ -21,6 +22,7 @@ import com.freemud.application.sdk.api.ordercenter.request.OrderExtInfoDto;
import
com.freemud.application.sdk.api.ordercenter.response.OrderBaseResp
;
import
com.freemud.application.sdk.api.ordercenter.response.OrderBaseResp
;
import
com.freemud.application.sdk.api.ordercenter.response.orderInfo.AfterSalesOrderResp
;
import
com.freemud.application.sdk.api.ordercenter.response.orderInfo.AfterSalesOrderResp
;
import
com.freemud.application.sdk.api.ordercenter.service.OrderSdkService
;
import
com.freemud.application.sdk.api.ordercenter.service.OrderSdkService
;
import
com.freemud.application.sdk.api.ordercenter.util.LogUtil
;
import
com.freemud.application.sdk.api.util.ResponseUtils
;
import
com.freemud.application.sdk.api.util.ResponseUtils
;
import
com.freemud.sdk.api.assortment.order.enums.OldOrderType
;
import
com.freemud.sdk.api.assortment.order.enums.OldOrderType
;
import
com.freemud.sdk.api.assortment.order.enums.PayRefundStatus
;
import
com.freemud.sdk.api.assortment.order.enums.PayRefundStatus
;
...
@@ -78,6 +80,8 @@ public class PaymentHandle {
...
@@ -78,6 +80,8 @@ public class PaymentHandle {
@Autowired
@Autowired
private
AssortmentOpenPlatformIappWxappStoreManager
assortmentOpenPlatformIappWxappStoreManager
;
private
AssortmentOpenPlatformIappWxappStoreManager
assortmentOpenPlatformIappWxappStoreManager
;
@Autowired
private
LogUtil
logUtil
;
/**
/**
* 退款
* 退款
...
@@ -297,6 +301,7 @@ public class PaymentHandle {
...
@@ -297,6 +301,7 @@ public class PaymentHandle {
if
(
refundNewResponse
==
null
){
if
(
refundNewResponse
==
null
){
return
null
;
return
null
;
}
}
logUtil
.
info
(
"paymentcenter/refund"
,
JSONObject
.
toJSONString
(
request
),
JSONObject
.
toJSONString
(
refundNewResponse
));
if
(
Objects
.
equals
(
refundNewResponse
.
getCode
(),
"100"
))
{
if
(
Objects
.
equals
(
refundNewResponse
.
getCode
(),
"100"
))
{
PayRefundData
refundData
=
refundNewResponse
.
getData
();
PayRefundData
refundData
=
refundNewResponse
.
getData
();
if
(
null
!=
refundData
)
{
if
(
null
!=
refundData
)
{
...
...
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