Merge branch 'master' of https://gitee.com/shaanxi-super-shopkeeper_1/newadmin
This commit is contained in:
commit
307aaf50eb
Binary file not shown.
|
|
@ -2079,31 +2079,31 @@ public class HfMerService {
|
|||
// " \"fee_rate\": \"0.007\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"wx_pub_offline\",\n" +
|
||||
// " \"fee_rate\": \"0.0036\"\n" +
|
||||
// " \"fee_rate\": \"0.0038\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"wx_lite_online\",\n" +
|
||||
// " \"fee_rate\": \"0.007\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"wx_lite_offline\",\n" +
|
||||
// " \"fee_rate\": \"0.0036\"\n" +
|
||||
// " \"fee_rate\": \"0.0038\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"wx_scan\",\n" +
|
||||
// " \"fee_rate\": \"0.0036\"\n" +
|
||||
// " \"fee_rate\": \"0.0038\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"alipay_qr_online\",\n" +
|
||||
// " \"fee_rate\": \"0.007\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"alipay_qr_offline\",\n" +
|
||||
// " \"fee_rate\": \"0.0036\"\n" +
|
||||
// " \"fee_rate\": \"0.0038\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"alipay_scan\",\n" +
|
||||
// " \"fee_rate\": \"0.0036\"\n" +
|
||||
// " \"fee_rate\": \"0.0038\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"alipay_lite_online\",\n" +
|
||||
// " \"fee_rate\": \"0.007\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"alipay_lite_offline\",\n" +
|
||||
// " \"fee_rate\": \"0.0036\"\n" +
|
||||
// " \"fee_rate\": \"0.0038\"\n" +
|
||||
// "}, {\n" +
|
||||
// " \"rate_channel\": \"alipay_call\",\n" +
|
||||
// " \"fee_rate\": \"0.007\"\n" +
|
||||
|
|
@ -2323,31 +2323,31 @@ public class HfMerService {
|
|||
" \"fee_rate\": \"0.007\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"wx_pub_offline\",\n" +
|
||||
" \"fee_rate\": \"0.0036\"\n" +
|
||||
" \"fee_rate\": \"0.0038\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"wx_lite_online\",\n" +
|
||||
" \"fee_rate\": \"0.007\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"wx_lite_offline\",\n" +
|
||||
" \"fee_rate\": \"0.0036\"\n" +
|
||||
" \"fee_rate\": \"0.0038\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"wx_scan\",\n" +
|
||||
" \"fee_rate\": \"0.0036\"\n" +
|
||||
" \"fee_rate\": \"0.0038\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"alipay_qr_online\",\n" +
|
||||
" \"fee_rate\": \"0.007\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"alipay_qr_offline\",\n" +
|
||||
" \"fee_rate\": \"0.0036\"\n" +
|
||||
" \"fee_rate\": \"0.0038\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"alipay_scan\",\n" +
|
||||
" \"fee_rate\": \"0.0036\"\n" +
|
||||
" \"fee_rate\": \"0.0038\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"alipay_lite_online\",\n" +
|
||||
" \"fee_rate\": \"0.007\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"alipay_lite_offline\",\n" +
|
||||
" \"fee_rate\": \"0.0036\"\n" +
|
||||
" \"fee_rate\": \"0.0038\"\n" +
|
||||
"}, {\n" +
|
||||
" \"rate_channel\": \"alipay_call\",\n" +
|
||||
" \"fee_rate\": \"0.007\"\n" +
|
||||
|
|
@ -2386,7 +2386,9 @@ public class HfMerService {
|
|||
}
|
||||
|
||||
|
||||
TbPlussMerchantHfInfo hfInfo = new TbPlussMerchantHfInfo();
|
||||
TbPlussMerchantHfInfo hfInfo= tbPlussMerchantHfInfoMapper.selectByMerchantCode(baseInfo.getMerchantcode());
|
||||
if(ObjectUtil.isEmpty(hfInfo)||hfInfo==null){
|
||||
hfInfo = new TbPlussMerchantHfInfo();
|
||||
JSONObject object=new JSONObject();
|
||||
if(ObjectUtil.isNotNull(wxLiteAppId)&&ObjectUtil.isNotEmpty(wxLiteAppId)){
|
||||
JSONObject wxlite=new JSONObject();
|
||||
|
|
@ -2407,10 +2409,18 @@ public class HfMerService {
|
|||
hfInfo.setStatus("0");
|
||||
hfInfo.setPrivKey(privateKey);
|
||||
hfInfo.setPucKey(publicKey);
|
||||
hfInfo.setWxInfo(object.toJSONString());
|
||||
hfInfo.setWxInfo(ObjectUtil.isEmpty(object)?null:object.toJSONString());
|
||||
hfInfo.setCreateTime(new Date());
|
||||
tbPlussMerchantHfInfoMapper.insert(hfInfo);
|
||||
|
||||
}else {
|
||||
hfInfo.setStatus("0");
|
||||
hfInfo.setPrivKey(privateKey);
|
||||
hfInfo.setPucKey(publicKey);
|
||||
hfInfo.setCreateTime(new Date());
|
||||
tbPlussMerchantHfInfoMapper.updateByPrimaryKeySelective(hfInfo);
|
||||
}
|
||||
|
||||
TbPlussMerchantAuditRecord merchantAuditRecord = new TbPlussMerchantAuditRecord();
|
||||
merchantAuditRecord.setStatus("1");
|
||||
merchantAuditRecord.setMerchantcode(baseInfo.getMerchantcode());
|
||||
|
|
@ -2627,14 +2637,14 @@ public class HfMerService {
|
|||
MsgException.checkNull(idCard, "商户基本信息不完整");
|
||||
|
||||
|
||||
Map<String, Object> f = HfMerService.fileUpload(idCard.getImgpositive(), "03", record.getMerchantid());
|
||||
Map<String, Object> f = HfMerService.fileUpload(idCard.getImgpositive(), "02", record.getMerchantid());
|
||||
|
||||
if (ObjectUtil.isNotEmpty(f) && "succeeded".equals(f.get("status"))) {
|
||||
map.put("legalCertIdFrontId", f.get("pic_id"));
|
||||
}
|
||||
|
||||
|
||||
Map<String, Object> z = HfMerService.fileUpload(idCard.getImgnegative(), "02", record.getMerchantid());
|
||||
Map<String, Object> z = HfMerService.fileUpload(idCard.getImgnegative(), "03", record.getMerchantid());
|
||||
|
||||
if (ObjectUtil.isNotEmpty(z) && "succeeded".equals(z.get("status"))) {
|
||||
map.put("legalCertIdBackId", z.get("pic_id"));
|
||||
|
|
@ -2738,6 +2748,7 @@ public class HfMerService {
|
|||
String baseUrl = it;
|
||||
StringBuilder sb = new StringBuilder(baseUrl);
|
||||
sb.append("?title=").append(merchantBaseInfo.getAlias());
|
||||
sb.append("?type=").append("1");
|
||||
sb.append("&password=").append(userInfo.getPassword().toLowerCase());
|
||||
sb.append("&mcc=").append(merchantBaseInfo.getMcc());
|
||||
sb.append("&mccName=").append(merchantBaseInfo.getMccname());
|
||||
|
|
|
|||
|
|
@ -107,9 +107,9 @@ public class LklAuditService {
|
|||
object1.put("merType", (baseInfo.getMerchanttype().equals(1) || baseInfo.getMerchanttype().equals("2")) ? "TP_PERSONAL" : "TP_MERCHANT"); //商户注册类型 TP_MERCHANT:企业 TP_PERSONAL:⼩微个⼈
|
||||
object1.put("merName", baseInfo.getAlias()); //商户名称(经营名称) 不能少于七个中文
|
||||
object1.put("merAddr", baseInfo.getAddress()); //去掉省,市区后的详细地址
|
||||
object1.put("provinceCode", tbPlussRegionLklMapper.selectByName(baseInfo.getProvince())); //省代码 通过【地区信息→获取地区查询】接口获取 对应 code字段
|
||||
object1.put("cityCode", tbPlussRegionLklMapper.selectByName(baseInfo.getCity())); // 市代码 通过【地区信息→获取地区查询】接口获取 对应 code字段
|
||||
object1.put("countyCode",tbPlussRegionLklMapper.selectByName(baseInfo.getDistrict())); // 区县代码 通过【地区信息→获取地区查询】接口获取 对应 code字段
|
||||
object1.put("provinceCode", tbPlussRegionLklMapper.selectByName(baseInfo.getProvince()).getCode()); //省代码 通过【地区信息→获取地区查询】接口获取 对应 code字段
|
||||
object1.put("cityCode", tbPlussRegionLklMapper.selectByName(baseInfo.getCity()).getCode()); // 市代码 通过【地区信息→获取地区查询】接口获取 对应 code字段
|
||||
object1.put("countyCode",tbPlussRegionLklMapper.selectByName(baseInfo.getDistrict()).getCode()); // 区县代码 通过【地区信息→获取地区查询】接口获取 对应 code字段
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue