|
|
|
@ -181,7 +181,7 @@ public class TianQueMerService { |
|
|
|
|
param.put("identityNo", basisModel.getLarIdCard()); |
|
|
|
|
param.put("legalPersonLicStt", basisModel.getLarIdCardPeriodStart().replace(".", "").replace("年","").replace("月","").replace("日","")); |
|
|
|
|
if (basisModel.getLarIdCardPeriodType().equals(2)) { |
|
|
|
|
param.put("businessLicStt", "29991231"); |
|
|
|
|
param.put("legalPersonLicEnt", "29991231"); |
|
|
|
|
} else { |
|
|
|
|
param.put("legalPersonLicEnt", basisModel.getLarIdCardPeriodEnd().replace(".", "").replace("年","").replace("月","").replace("日","")); |
|
|
|
|
} |
|
|
|
@ -423,7 +423,7 @@ public class TianQueMerService { |
|
|
|
|
param.put("identityNo", basisModel.getLarIdCard()); |
|
|
|
|
param.put("legalPersonLicStt", basisModel.getLarIdCardPeriodStart().replace(".", "").replace("年","").replace("月","").replace("日","")); |
|
|
|
|
if (basisModel.getLarIdCardPeriodType().equals(2)) { |
|
|
|
|
param.put("businessLicStt", "29991231"); |
|
|
|
|
param.put("legalPersonLicEnt", "29991231"); |
|
|
|
|
} else { |
|
|
|
|
param.put("legalPersonLicEnt", basisModel.getLarIdCardPeriodEnd().replace(".", "").replace("年","").replace("月","").replace("日","")); |
|
|
|
|
} |
|
|
|
@ -558,5 +558,38 @@ public class TianQueMerService { |
|
|
|
|
return RequestUtil.request(TianQueConfig.requestUrl + "/merchant/queryMerchantInfo", param); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 微信配置 |
|
|
|
|
* @param mno 商户编号 |
|
|
|
|
* @param subMchId 微信子商户号 |
|
|
|
|
* @param type 配置类型 取值范围:01 支付Appid=,03 jsapi授权目录 |
|
|
|
|
* @param subAppid 微信subAppid type=="01"时必传 |
|
|
|
|
* @param accountType 支付Appid类型,枚举值 取值范围: 00 公众号 01 小程序 type="01"时必传 |
|
|
|
|
* @param jsapiPath jsapi授权目录 type="03"时必传 |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
public JSONObject weChatPayConf(String mno,String subMchId,String type,String subAppid,String accountType,String jsapiPath) { |
|
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
|
param.put("mno", mno); |
|
|
|
|
param.put("subMchId", subMchId); |
|
|
|
|
param.put("type", type); |
|
|
|
|
param.put("subAppid", subAppid); |
|
|
|
|
param.put("accountType", accountType); |
|
|
|
|
param.put("jsapiPath", jsapiPath); |
|
|
|
|
return RequestUtil.request(TianQueConfig.requestUrl + "/merchant/weChatPaySet/addConf", param); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 查询配置 |
|
|
|
|
* @param mno 商户编号 |
|
|
|
|
* @param subMchId 微信子商户号 |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
public JSONObject queryConf(String mno,String subMchId) { |
|
|
|
|
Map<String,Object> param = new HashMap<>(); |
|
|
|
|
param.put("mno", mno); |
|
|
|
|
param.put("subMchId", subMchId); |
|
|
|
|
return RequestUtil.request(TianQueConfig.requestUrl + "/merchant/weChatPaySet/queryConf", param); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|