Commit 936282f0 by 霍志良

fix:CommonPayParams 字段 merchantType 为public

parent 5cd4c991
...@@ -39,7 +39,7 @@ ext { ...@@ -39,7 +39,7 @@ ext {
"ydl-webview" : "0.0.38.33", "ydl-webview" : "0.0.38.33",
"ydl-webview" : "0.0.38.33", "ydl-webview" : "0.0.38.33",
"ydl-media" : "0.0.21.6", "ydl-media" : "0.0.21.6",
"ydl-pay" : "0.0.18.11", "ydl-pay" : "0.0.18.13",
"m-audioim" : "0.0.49.29.7", "m-audioim" : "0.0.49.29.7",
"ydl-flutter-base": "0.0.14.19", "ydl-flutter-base": "0.0.14.19",
...@@ -120,7 +120,7 @@ ext { ...@@ -120,7 +120,7 @@ ext {
//第二步 若干 //第二步 若干
"ydl-webview" : "0.0.38.32", "ydl-webview" : "0.0.38.32",
"ydl-media" : "0.0.21.6", "ydl-media" : "0.0.21.6",
"ydl-pay" : "0.0.18.10", "ydl-pay" : "0.0.18.11",
"m-audioim" : "0.0.49.29.7", "m-audioim" : "0.0.49.29.7",
"ydl-flutter-base": "0.0.14.19", "ydl-flutter-base": "0.0.14.19",
......
...@@ -9,7 +9,7 @@ package com.yidianling.ydl_pay.common.bean.params; ...@@ -9,7 +9,7 @@ package com.yidianling.ydl_pay.common.bean.params;
*/ */
public class AliPayParam extends CommonPayParam { public class AliPayParam extends CommonPayParam {
public AliPayParam(String payId,int isThreePay) { public AliPayParam(String payId, int isThreePay) {
super(payId, "aliapp",isThreePay); super(payId, "aliapp", isThreePay,"");
} }
} }
...@@ -14,10 +14,11 @@ public class CommonPayParam extends BaseCommand { ...@@ -14,10 +14,11 @@ public class CommonPayParam extends BaseCommand {
public String payId; public String payId;
public String type; public String type;
public int isThreePay = 0;//混合支付 0 纯三方支付 isThreePay 1 public int isThreePay = 0;//混合支付 0 纯三方支付 isThreePay 1
public String merchantType="";//增加微信支付参数,用于解决微信支付限额的问题
public CommonPayParam(String payId, String type, int isThreePay) { public CommonPayParam(String payId, String type, int isThreePay,String merchantType) {
this.payId = payId; this.payId = payId;
this.isThreePay = isThreePay; this.isThreePay = isThreePay;
this.type = type; this.type = type;
this.merchantType=merchantType;
} }
} }
...@@ -13,9 +13,8 @@ import com.ydl.ydlcommon.base.config.YDLConstants; ...@@ -13,9 +13,8 @@ import com.ydl.ydlcommon.base.config.YDLConstants;
* @date 2019/4/24 * @date 2019/4/24
*/ */
public class WxPayParam extends CommonPayParam { public class WxPayParam extends CommonPayParam {
private String merchantType="";//增加微信支付参数,用于解决微信支付限额的问题
public WxPayParam(String payId, int isThreePay,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())) { if(!TextUtils.isEmpty(BaseApp.instance.getGlobalConfig().getAppWxPayType())) {
type =BaseApp.instance.getGlobalConfig().getAppWxPayType(); type =BaseApp.instance.getGlobalConfig().getAppWxPayType();
}else { }else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment