Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
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
杨凯
YDL-Component-Medical
Commits
936282f0
Commit
936282f0
authored
Sep 29, 2020
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:CommonPayParams 字段 merchantType 为public
parent
5cd4c991
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
config.gradle
config.gradle
+2
-2
AliPayParam.java
ydl-pay/src/main/java/com/yidianling/ydl_pay/common/bean/params/AliPayParam.java
+2
-2
CommonPayParam.java
ydl-pay/src/main/java/com/yidianling/ydl_pay/common/bean/params/CommonPayParam.java
+3
-2
WxPayParam.java
ydl-pay/src/main/java/com/yidianling/ydl_pay/common/bean/params/WxPayParam.java
+1
-2
No files found.
config.gradle
View file @
936282f0
...
...
@@ -39,7 +39,7 @@ ext {
"ydl-webview"
:
"0.0.38.33"
,
"ydl-webview"
:
"0.0.38.33"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.1
1
"
,
"ydl-pay"
:
"0.0.18.1
3
"
,
"m-audioim"
:
"0.0.49.29.7"
,
"ydl-flutter-base"
:
"0.0.14.19"
,
...
...
@@ -120,7 +120,7 @@ ext {
//第二步 若干
"ydl-webview"
:
"0.0.38.32"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.1
0
"
,
"ydl-pay"
:
"0.0.18.1
1
"
,
"m-audioim"
:
"0.0.49.29.7"
,
"ydl-flutter-base"
:
"0.0.14.19"
,
...
...
ydl-pay/src/main/java/com/yidianling/ydl_pay/common/bean/params/AliPayParam.java
View file @
936282f0
...
...
@@ -9,7 +9,7 @@ package com.yidianling.ydl_pay.common.bean.params;
*/
public
class
AliPayParam
extends
CommonPayParam
{
public
AliPayParam
(
String
payId
,
int
isThreePay
)
{
super
(
payId
,
"aliapp"
,
isThreePay
);
public
AliPayParam
(
String
payId
,
int
isThreePay
)
{
super
(
payId
,
"aliapp"
,
isThreePay
,
""
);
}
}
ydl-pay/src/main/java/com/yidianling/ydl_pay/common/bean/params/CommonPayParam.java
View file @
936282f0
...
...
@@ -14,10 +14,11 @@ public class CommonPayParam extends BaseCommand {
public
String
payId
;
public
String
type
;
public
int
isThreePay
=
0
;
//混合支付 0 纯三方支付 isThreePay 1
public
CommonPayParam
(
String
payId
,
String
type
,
int
isThreePay
)
{
public
String
merchantType
=
""
;
//增加微信支付参数,用于解决微信支付限额的问题
public
CommonPayParam
(
String
payId
,
String
type
,
int
isThreePay
,
String
merchantType
)
{
this
.
payId
=
payId
;
this
.
isThreePay
=
isThreePay
;
this
.
type
=
type
;
this
.
merchantType
=
merchantType
;
}
}
ydl-pay/src/main/java/com/yidianling/ydl_pay/common/bean/params/WxPayParam.java
View file @
936282f0
...
...
@@ -13,9 +13,8 @@ import com.ydl.ydlcommon.base.config.YDLConstants;
* @date 2019/4/24
*/
public
class
WxPayParam
extends
CommonPayParam
{
private
String
merchantType
=
""
;
//增加微信支付参数,用于解决微信支付限额的问题
public
WxPayParam
(
String
payId
,
int
isThreePay
,
String
merchantType
)
{
super
(
payId
,
"wxapp_hz"
,
isThreePay
);
super
(
payId
,
"wxapp_hz"
,
isThreePay
,
merchantType
);
if
(!
TextUtils
.
isEmpty
(
BaseApp
.
instance
.
getGlobalConfig
().
getAppWxPayType
()))
{
type
=
BaseApp
.
instance
.
getGlobalConfig
().
getAppWxPayType
();
}
else
{
...
...
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