记得上下班打卡 | 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
1e57b8b9
Commit
1e57b8b9
authored
Jul 13, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口文案
parent
2268e2d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
DragonOrderRefundsServiceImpl.java
...ce/dragon/service/impl/DragonOrderRefundsServiceImpl.java
+4
-4
PayWepayUtils.java
...ava/com/liquidnet/service/dragon/utils/PayWepayUtils.java
+0
-5
No files found.
liquidnet-bus-service/liquidnet-service-dragon/liquidnet-service-dragon-impl/src/main/java/com/liquidnet/service/dragon/service/impl/DragonOrderRefundsServiceImpl.java
View file @
1e57b8b9
...
@@ -135,8 +135,8 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
...
@@ -135,8 +135,8 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
parameters
.
put
(
"nonce_str"
,
nonceStr
);
parameters
.
put
(
"nonce_str"
,
nonceStr
);
parameters
.
put
(
"out_refund_no"
,
refundCode
);
parameters
.
put
(
"out_refund_no"
,
refundCode
);
parameters
.
put
(
"out_trade_no"
,
code
);
parameters
.
put
(
"out_trade_no"
,
code
);
parameters
.
put
(
"refund_fee"
,
(
price
.
doubleValue
()
*
100
)+
""
);
parameters
.
put
(
"refund_fee"
,
(
int
)(
price
.
doubleValue
()
*
100
)+
""
);
parameters
.
put
(
"total_fee"
,
(
priceTotal
.
doubleValue
()
*
100
)+
""
);
parameters
.
put
(
"total_fee"
,
(
int
)(
priceTotal
.
doubleValue
()
*
100
)+
""
);
parameters
.
put
(
"notify_url"
,
notifyUrl
);
parameters
.
put
(
"notify_url"
,
notifyUrl
);
parameters
.
put
(
"refund_desc"
,
reason
);
parameters
.
put
(
"refund_desc"
,
reason
);
parameters
.
put
(
"refund_account"
,
"REFUND_SOURCE_RECHARGE_FUNDS"
);
parameters
.
put
(
"refund_account"
,
"REFUND_SOURCE_RECHARGE_FUNDS"
);
...
@@ -155,7 +155,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
...
@@ -155,7 +155,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
log
.
debug
(
"JSONSTR = "
+
jsonStr
);
log
.
debug
(
"JSONSTR = "
+
jsonStr
);
WePayRefundReturnDto
wePayRefundReturnDto
=
XmlUtil
.
toBean
(
jsonStr
,
WePayRefundReturnDto
.
class
);
WePayRefundReturnDto
wePayRefundReturnDto
=
XmlUtil
.
toBean
(
jsonStr
,
WePayRefundReturnDto
.
class
);
log
.
debug
(
"BEAN = "
+
wePayRefundReturnDto
);
log
.
debug
(
"BEAN = "
+
wePayRefundReturnDto
);
if
(!
wePayRefundReturnDto
.
getRe
sultCode
().
equalsIgnoreCase
(
"SUCCESS"
)
||
wePayRefundReturnDto
.
getResult
Code
()
==
null
)
{
if
(!
wePayRefundReturnDto
.
getRe
turnCode
().
equalsIgnoreCase
(
"SUCCESS"
)
||
wePayRefundReturnDto
.
getReturn
Code
()
==
null
)
{
try
{
try
{
String
refundError
=
""
;
String
refundError
=
""
;
refundStatus
=
DragonConstant
.
RefundStatusEnum
.
STATUS_ERROR
.
getCode
();
refundStatus
=
DragonConstant
.
RefundStatusEnum
.
STATUS_ERROR
.
getCode
();
...
@@ -194,7 +194,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
...
@@ -194,7 +194,7 @@ public class DragonOrderRefundsServiceImpl implements IDragonOrderRefundsService
new
Object
[]{
orderRefundId
,
paymentType
,
data
,
nowTime
,
nowTime
}
new
Object
[]{
orderRefundId
,
paymentType
,
data
,
nowTime
,
nowTime
}
);
);
try
{
try
{
if
(
wePayRefundReturnDto
.
getRe
sult
Code
().
equalsIgnoreCase
(
"SUCCESS"
))
{
if
(
wePayRefundReturnDto
.
getRe
turn
Code
().
equalsIgnoreCase
(
"SUCCESS"
))
{
refundStatus
=
DragonConstant
.
RefundStatusEnum
.
STATUS_REFUNDED
.
getCode
();
refundStatus
=
DragonConstant
.
RefundStatusEnum
.
STATUS_REFUNDED
.
getCode
();
}
}
sendMySqlRedis
(
sendMySqlRedis
(
...
...
liquidnet-bus-service/liquidnet-service-dragon/liquidnet-service-dragon-impl/src/main/java/com/liquidnet/service/dragon/utils/PayWepayUtils.java
View file @
1e57b8b9
...
@@ -142,9 +142,4 @@ public class PayWepayUtils {
...
@@ -142,9 +142,4 @@ public class PayWepayUtils {
return
""
;
return
""
;
}
}
}
}
// public static void main(String[] args) {
// PayWepayUtils a = new PayWepayUtils();
// System.out.println(a.unCodeReqInfo());
// }
}
}
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