Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baa-pay-server
Project
Project
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
贺超
baa-pay-server
Commits
250cfbb8
Commit
250cfbb8
authored
Sep 07, 2021
by
刘李鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加枚举
parent
bae82627
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
Acquirer.java
...ore/src/main/java/cn/quant/baa/pay/acquirer/Acquirer.java
+3
-3
MerchantAcquirer.java
...main/java/cn/quant/baa/pay/acquirer/MerchantAcquirer.java
+4
-4
AccessCode.java
...-core/src/main/java/cn/quant/baa/pay/dict/AccessCode.java
+3
-0
No files found.
baa-pay-core/src/main/java/cn/quant/baa/pay/acquirer/Acquirer.java
View file @
250cfbb8
...
@@ -11,7 +11,7 @@ public interface Acquirer {
...
@@ -11,7 +11,7 @@ public interface Acquirer {
Object
code
();
Object
code
();
JsonNode
pay
(
PayRequestData
payRequestData
,
PayHistoryEntity
payHistoryEntity
);
JsonNode
pay
(
PayRequestData
payRequestData
,
PayHistoryEntity
payHistoryEntity
);
void
refund
();
JsonNode
refund
();
void
check
();
JsonNode
check
();
void
close
();
JsonNode
close
();
}
}
baa-pay-core/src/main/java/cn/quant/baa/pay/acquirer/MerchantAcquirer.java
View file @
250cfbb8
...
@@ -70,17 +70,17 @@ public class MerchantAcquirer implements Acquirer {
...
@@ -70,17 +70,17 @@ public class MerchantAcquirer implements Acquirer {
}
}
@Override
@Override
public
void
refund
()
{
public
JsonNode
refund
()
{
throw
new
NotSupportedException
();
throw
new
NotSupportedException
();
}
}
@Override
@Override
public
void
check
()
{
public
JsonNode
check
()
{
throw
new
NotSupportedException
();
throw
new
NotSupportedException
();
}
}
@Override
@Override
public
void
close
()
{
public
JsonNode
close
()
{
throw
new
NotSupportedException
();
}
}
}
}
baa-pay-core/src/main/java/cn/quant/baa/pay/dict/AccessCode.java
View file @
250cfbb8
...
@@ -5,6 +5,9 @@ package cn.quant.baa.pay.dict;
...
@@ -5,6 +5,9 @@ package cn.quant.baa.pay.dict;
*/
*/
public
enum
AccessCode
{
public
enum
AccessCode
{
REFUND
(
"退款"
),
CHECK
(
"订单查询"
),
CLOSE
(
"关闭订单"
),
WEB
(
"电脑网站支付"
),
WEB
(
"电脑网站支付"
),
APP
(
"应用支付"
),
APP
(
"应用支付"
),
H5
(
"H5页支付"
),
H5
(
"H5页支付"
),
...
...
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