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
2314406c
Commit
2314406c
authored
Aug 30, 2021
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建项目
parent
1d1861a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
PayAccountEntity.java
...in/java/cn/quant/baa/pay/jpa/entity/PayAccountEntity.java
+12
-0
MerchantAcquirerProfile.java
.../java/cn/quant/baa/pay/model/MerchantAcquirerProfile.java
+10
-8
No files found.
baa-pay-core/src/main/java/cn/quant/baa/pay/jpa/entity/PayAccountEntity.java
View file @
2314406c
...
@@ -35,6 +35,9 @@ public class PayAccountEntity extends OptimisticEntity implements Serializable {
...
@@ -35,6 +35,9 @@ public class PayAccountEntity extends OptimisticEntity implements Serializable {
@Column
(
name
=
"ENCRYPT_TYPE"
,
nullable
=
false
,
length
=
32
)
@Column
(
name
=
"ENCRYPT_TYPE"
,
nullable
=
false
,
length
=
32
)
private
String
encryptType
;
private
String
encryptType
;
@Column
(
name
=
"SIGN_TYPE"
,
nullable
=
false
,
length
=
32
)
private
String
signType
;
@Column
(
name
=
"PRIVATE_KEY"
,
nullable
=
false
,
length
=
255
)
@Column
(
name
=
"PRIVATE_KEY"
,
nullable
=
false
,
length
=
255
)
private
String
privateKey
;
private
String
privateKey
;
...
@@ -89,6 +92,14 @@ public class PayAccountEntity extends OptimisticEntity implements Serializable {
...
@@ -89,6 +92,14 @@ public class PayAccountEntity extends OptimisticEntity implements Serializable {
this
.
encryptType
=
encryptType
;
this
.
encryptType
=
encryptType
;
}
}
public
String
getSignType
()
{
return
signType
;
}
public
void
setSignType
(
String
signType
)
{
this
.
signType
=
signType
;
}
public
String
getPrivateKey
()
{
public
String
getPrivateKey
()
{
return
privateKey
;
return
privateKey
;
}
}
...
@@ -127,6 +138,7 @@ public class PayAccountEntity extends OptimisticEntity implements Serializable {
...
@@ -127,6 +138,7 @@ public class PayAccountEntity extends OptimisticEntity implements Serializable {
sb
.
append
(
", name='"
).
append
(
name
).
append
(
'\''
);
sb
.
append
(
", name='"
).
append
(
name
).
append
(
'\''
);
sb
.
append
(
", encryptKey='"
).
append
(
encryptKey
).
append
(
'\''
);
sb
.
append
(
", encryptKey='"
).
append
(
encryptKey
).
append
(
'\''
);
sb
.
append
(
", encryptType='"
).
append
(
encryptType
).
append
(
'\''
);
sb
.
append
(
", encryptType='"
).
append
(
encryptType
).
append
(
'\''
);
sb
.
append
(
", signType='"
).
append
(
signType
).
append
(
'\''
);
sb
.
append
(
", privateKey='"
).
append
(
privateKey
).
append
(
'\''
);
sb
.
append
(
", privateKey='"
).
append
(
privateKey
).
append
(
'\''
);
sb
.
append
(
", payPublicKey='"
).
append
(
payPublicKey
).
append
(
'\''
);
sb
.
append
(
", payPublicKey='"
).
append
(
payPublicKey
).
append
(
'\''
);
sb
.
append
(
','
).
append
(
super
.
toString
());
sb
.
append
(
','
).
append
(
super
.
toString
());
...
...
baa-pay-core/src/main/java/cn/quant/baa/pay/model/MerchantAcquirerProfile.java
View file @
2314406c
...
@@ -31,6 +31,8 @@ public class MerchantAcquirerProfile implements Serializable{
...
@@ -31,6 +31,8 @@ public class MerchantAcquirerProfile implements Serializable{
private
String
encryptType
;
private
String
encryptType
;
private
String
signType
;
private
String
privateKey
;
private
String
privateKey
;
private
String
payPublicKey
;
private
String
payPublicKey
;
...
@@ -128,6 +130,14 @@ public class MerchantAcquirerProfile implements Serializable{
...
@@ -128,6 +130,14 @@ public class MerchantAcquirerProfile implements Serializable{
this
.
encryptType
=
encryptType
;
this
.
encryptType
=
encryptType
;
}
}
public
String
getSignType
()
{
return
signType
;
}
public
void
setSignType
(
String
signType
)
{
this
.
signType
=
signType
;
}
public
String
getPrivateKey
()
{
public
String
getPrivateKey
()
{
return
privateKey
;
return
privateKey
;
}
}
...
@@ -281,23 +291,15 @@ public class MerchantAcquirerProfile implements Serializable{
...
@@ -281,23 +291,15 @@ public class MerchantAcquirerProfile implements Serializable{
sb
.
append
(
", payChanType="
).
append
(
payChanType
);
sb
.
append
(
", payChanType="
).
append
(
payChanType
);
sb
.
append
(
", domain='"
).
append
(
domain
).
append
(
'\''
);
sb
.
append
(
", domain='"
).
append
(
domain
).
append
(
'\''
);
sb
.
append
(
", name='"
).
append
(
name
).
append
(
'\''
);
sb
.
append
(
", name='"
).
append
(
name
).
append
(
'\''
);
sb
.
append
(
", encryptKey='"
).
append
(
encryptKey
).
append
(
'\''
);
sb
.
append
(
", encryptType='"
).
append
(
encryptType
).
append
(
'\''
);
sb
.
append
(
", privateKey='"
).
append
(
privateKey
).
append
(
'\''
);
sb
.
append
(
", payPublicKey='"
).
append
(
payPublicKey
).
append
(
'\''
);
sb
.
append
(
", accessCode="
).
append
(
accessCode
);
sb
.
append
(
", accessCode="
).
append
(
accessCode
);
sb
.
append
(
", accessType="
).
append
(
accessType
);
sb
.
append
(
", accessType="
).
append
(
accessType
);
sb
.
append
(
", accessMethod='"
).
append
(
accessMethod
).
append
(
'\''
);
sb
.
append
(
", accessMethod='"
).
append
(
accessMethod
).
append
(
'\''
);
sb
.
append
(
", version='"
).
append
(
version
).
append
(
'\''
);
sb
.
append
(
", version='"
).
append
(
version
).
append
(
'\''
);
sb
.
append
(
", payAccess='"
).
append
(
payAccess
).
append
(
'\''
);
sb
.
append
(
", refundAccess='"
).
append
(
refundAccess
).
append
(
'\''
);
sb
.
append
(
", checkAccess='"
).
append
(
checkAccess
).
append
(
'\''
);
sb
.
append
(
", descText='"
).
append
(
descText
).
append
(
'\''
);
sb
.
append
(
", descText='"
).
append
(
descText
).
append
(
'\''
);
sb
.
append
(
", institutionId='"
).
append
(
institutionId
).
append
(
'\''
);
sb
.
append
(
", institutionId='"
).
append
(
institutionId
).
append
(
'\''
);
sb
.
append
(
", productId='"
).
append
(
productId
).
append
(
'\''
);
sb
.
append
(
", productId='"
).
append
(
productId
).
append
(
'\''
);
sb
.
append
(
", payAppId='"
).
append
(
payAppId
).
append
(
'\''
);
sb
.
append
(
", payAppId='"
).
append
(
payAppId
).
append
(
'\''
);
sb
.
append
(
", payAppName='"
).
append
(
payAppName
).
append
(
'\''
);
sb
.
append
(
", payAppName='"
).
append
(
payAppName
).
append
(
'\''
);
sb
.
append
(
", securityKey='"
).
append
(
securityKey
).
append
(
'\''
);
sb
.
append
(
", startDate="
).
append
(
startDate
);
sb
.
append
(
", startDate="
).
append
(
startDate
);
sb
.
append
(
", endDate="
).
append
(
endDate
);
sb
.
append
(
", endDate="
).
append
(
endDate
);
sb
.
append
(
", activatedFlag="
).
append
(
activatedFlag
);
sb
.
append
(
", activatedFlag="
).
append
(
activatedFlag
);
...
...
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