Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TangKuPos
Project overview
Project overview
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
王海
TangKuPos
Commits
d49be09f
Commit
d49be09f
authored
Mar 13, 2018
by
zhang_z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改;
parent
0ea7dadf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pay/src/main/java/com/xingdata/zxpay/pax/Factory.java
pay/src/main/java/com/xingdata/zxpay/pax/Factory.java
+4
-0
No files found.
pay/src/main/java/com/xingdata/zxpay/pax/Factory.java
View file @
d49be09f
...
@@ -62,15 +62,19 @@ public class Factory extends com.xingdata.zxpay.api.Factory {
...
@@ -62,15 +62,19 @@ public class Factory extends com.xingdata.zxpay.api.Factory {
switch
(
payChannel
)
{
switch
(
payChannel
)
{
case
com
.
xingdata
.
zxpay
.
C
.
PAY_CHANNEL
.
ALI
:
case
com
.
xingdata
.
zxpay
.
C
.
PAY_CHANNEL
.
ALI
:
request
.
setTradeType
(
C
.
TRADE_TYPE
.
ALI
);
request
.
setTradeType
(
C
.
TRADE_TYPE
.
ALI
);
request
.
setKey
(
PayCenter
.
getInstance
().
mShopppp
.
getHshopKeyAlipay
());
break
;
break
;
case
com
.
xingdata
.
zxpay
.
C
.
PAY_CHANNEL
.
WECHAT
:
case
com
.
xingdata
.
zxpay
.
C
.
PAY_CHANNEL
.
WECHAT
:
request
.
setTradeType
(
C
.
TRADE_TYPE
.
WECHAT
);
request
.
setTradeType
(
C
.
TRADE_TYPE
.
WECHAT
);
request
.
setKey
(
PayCenter
.
getInstance
().
mShopppp
.
getHshopKeyWechat
());
break
;
break
;
case
com
.
xingdata
.
zxpay
.
C
.
PAY_CHANNEL
.
BANK
:
case
com
.
xingdata
.
zxpay
.
C
.
PAY_CHANNEL
.
BANK
:
request
.
setTradeType
(
C
.
TRADE_TYPE
.
UNION
);
request
.
setTradeType
(
C
.
TRADE_TYPE
.
UNION
);
request
.
setKey
(
PayCenter
.
getInstance
().
mShopppp
.
getHshopKeyUnipay
());
break
;
break
;
}
}
request
.
sign
();
request
.
sign
();
return
run
(
Api
.
getInstance
().
service
.
action
(
request
))
return
run
(
Api
.
getInstance
().
service
.
action
(
request
))
.
map
(
new
ResultFilter
())
.
map
(
new
ResultFilter
())
.
doFinally
(()
->
orderMap
.
put
(
request
.
getOutTransactionNo
(),
request
.
getTimeStart
()));
.
doFinally
(()
->
orderMap
.
put
(
request
.
getOutTransactionNo
(),
request
.
getTimeStart
()));
...
...
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