Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
8ddab7ad
Commit
8ddab7ad
authored
Oct 24, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-alipay-change' into base-modify
parents
bf99ad86
42e71f4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
OrderPayBiz.java
...ain/java/com/xxfc/platform/universal/biz/OrderPayBiz.java
+6
-8
No files found.
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/biz/OrderPayBiz.java
View file @
8ddab7ad
...
@@ -340,10 +340,8 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> implements In
...
@@ -340,10 +340,8 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> implements In
AlipayFundAuthOrderAppFreezeRequest
request
=
new
AlipayFundAuthOrderAppFreezeRequest
();
AlipayFundAuthOrderAppFreezeRequest
request
=
new
AlipayFundAuthOrderAppFreezeRequest
();
BigDecimal
realAmount
=
new
BigDecimal
(
orderPayVo
.
getAmount
().
toString
()).
divide
(
new
BigDecimal
(
"100"
),
2
,
BigDecimal
.
ROUND_UP
);
BigDecimal
realAmount
=
new
BigDecimal
(
orderPayVo
.
getAmount
().
toString
()).
divide
(
new
BigDecimal
(
"100"
),
2
,
BigDecimal
.
ROUND_UP
);
request
.
setBizContent
(
"{"
+
request
.
setBizContent
(
"{"
+
"\"auth_code\":\""
+
orderPayVo
.
getTradeNo
()
+
"\","
+
"\"out_order_no\":\""
+
orderPayVo
.
getTradeNo
()
+
"\","
+
"\"auth_code_type\":\"bar_code\","
+
"\"out_request_no\":\""
+
orderPayVo
.
getTradeNo
()
+
"\","
+
"\"out_order_no\":\""
+
orderPayVo
.
getOrderNo
()
+
"\","
+
"\"out_request_no\":\""
+
orderPayVo
.
getOrderNo
()
+
"\","
+
"\"order_title\":\""
+
orderPayVo
.
getSubject
()
+
"\","
+
"\"order_title\":\""
+
orderPayVo
.
getSubject
()
+
"\","
+
"\"product_code\":\"PRE_AUTH_ONLINE\","
+
"\"product_code\":\"PRE_AUTH_ONLINE\","
+
"\"pay_timeout\":\"1d\","
+
"\"pay_timeout\":\"1d\","
+
...
@@ -648,13 +646,13 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> implements In
...
@@ -648,13 +646,13 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> implements In
public
static
void
main
(
String
[]
args
)
throws
AlipayApiException
{
public
static
void
main
(
String
[]
args
)
throws
AlipayApiException
{
OrderPayBiz
orderPayBiz
=
new
OrderPayBiz
();
OrderPayBiz
orderPayBiz
=
new
OrderPayBiz
();
OrderPayVo
orderPayVo
=
new
OrderPayVo
();
OrderPayVo
orderPayVo
=
new
OrderPayVo
();
orderPayVo
.
setOrderNo
(
"201910241
21000010004
"
);
orderPayVo
.
setOrderNo
(
"201910241
42517000001
"
);
orderPayVo
.
setTradeNo
(
"2019102410002001530572
255591
"
);
orderPayVo
.
setTradeNo
(
"2019102410002001530572
454194
"
);
orderPayVo
.
setAmount
(
2
);
orderPayVo
.
setAmount
(
2
);
orderPayVo
.
setBody
(
"扣除租车订单费用"
);
orderPayVo
.
setBody
(
"扣除租车订单费用"
);
orderPayVo
.
setSubject
(
"租车订单交易费用"
);
orderPayVo
.
setSubject
(
"租车订单交易费用"
);
orderPayBiz
.
fundAuthOrderUnFreeze
(
orderPayVo
,
""
);
//
orderPayBiz.fundAuthOrderUnFreeze(orderPayVo, "");
//orderPayBiz.alipayOrderRefund("20190806134440000001","2019080622001421530542309594", 3
, "xxxx", "");
orderPayBiz
.
alipayOrderRefund
(
"20191024142517000001"
,
"2019102422001421530513284677"
,
2
,
"xxxx"
,
""
);
//orderPayBiz.tradePay(orderPayVo, "");
//orderPayBiz.tradePay(orderPayVo, "");
//orderPayBiz.fundAuthCancel(orderPayVo, "");
//orderPayBiz.fundAuthCancel(orderPayVo, "");
}
}
...
...
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