微信提交信息修改
This commit is contained in:
@@ -115,6 +115,8 @@ public class AlipayIsvEntryManager {
|
|||||||
File shopScenePic = UploadFileUtil.getFileByUrl(reqDto.getStoreInfo().getInsidePic().getUrl());
|
File shopScenePic = UploadFileUtil.getFileByUrl(reqDto.getStoreInfo().getInsidePic().getUrl());
|
||||||
File shopSignBoardPic = UploadFileUtil.getFileByUrl(reqDto.getStoreInfo().getDoorPic().getUrl());
|
File shopSignBoardPic = UploadFileUtil.getFileByUrl(reqDto.getStoreInfo().getDoorPic().getUrl());
|
||||||
|
|
||||||
|
log.info("支付宝开启代商户签约: 请求={}", JSONObject.toJSONString(signModel));
|
||||||
|
|
||||||
// 构造请求参数以调用接口
|
// 构造请求参数以调用接口
|
||||||
AlipayOpenAgentFacetofaceApi api = new AlipayOpenAgentFacetofaceApi();
|
AlipayOpenAgentFacetofaceApi api = new AlipayOpenAgentFacetofaceApi();
|
||||||
Object response = api.sign(null, businessLicensePic, signModel, shopScenePic, shopSignBoardPic, null);
|
Object response = api.sign(null, businessLicensePic, signModel, shopScenePic, shopSignBoardPic, null);
|
||||||
|
|||||||
@@ -247,7 +247,7 @@ public class WechatEntryManager {
|
|||||||
contactInfo.setContactIdDocCopy(baseInfo.getContactIdCardFrontPic().getWechatId());
|
contactInfo.setContactIdDocCopy(baseInfo.getContactIdCardFrontPic().getWechatId());
|
||||||
contactInfo.setContactIdDocCopyBack(baseInfo.getContactIdCardBackPic().getWechatId());
|
contactInfo.setContactIdDocCopyBack(baseInfo.getContactIdCardBackPic().getWechatId());
|
||||||
contactInfo.setContactPeriodBegin(baseInfo.getContactPersonIdStartDate());
|
contactInfo.setContactPeriodBegin(baseInfo.getContactPersonIdStartDate());
|
||||||
contactInfo.setContactPeriodEnd(baseInfo.getContactPersonIdEndDate());
|
contactInfo.setContactPeriodEnd(PayCst.LONG_TERM_DATE.equals(baseInfo.getContactPersonIdEndDate()) ? "长期" : baseInfo.getContactPersonIdEndDate());
|
||||||
contactInfo.setMobilePhone(encryptor.encrypt(baseInfo.getContactPhone()));
|
contactInfo.setMobilePhone(encryptor.encrypt(baseInfo.getContactPhone()));
|
||||||
contactInfo.setContactEmail(encryptor.encrypt(baseInfo.getContactEmail()));
|
contactInfo.setContactEmail(encryptor.encrypt(baseInfo.getContactEmail()));
|
||||||
} else if (PayCst.ContactPersonType.LEGAL.equals(baseInfo.getContactPersonType())) {
|
} else if (PayCst.ContactPersonType.LEGAL.equals(baseInfo.getContactPersonType())) {
|
||||||
@@ -256,7 +256,7 @@ public class WechatEntryManager {
|
|||||||
contactInfo.setContactIdDocCopy(legalPersonInfo.getIdCardFrontPic().getWechatId());
|
contactInfo.setContactIdDocCopy(legalPersonInfo.getIdCardFrontPic().getWechatId());
|
||||||
contactInfo.setContactIdDocCopyBack(legalPersonInfo.getIdCardBackPic().getWechatId());
|
contactInfo.setContactIdDocCopyBack(legalPersonInfo.getIdCardBackPic().getWechatId());
|
||||||
contactInfo.setContactPeriodBegin(legalPersonInfo.getLegalIdPersonStartDate());
|
contactInfo.setContactPeriodBegin(legalPersonInfo.getLegalIdPersonStartDate());
|
||||||
contactInfo.setContactPeriodEnd(legalPersonInfo.getLegalPersonIdEndDate());
|
contactInfo.setContactPeriodEnd(PayCst.LONG_TERM_DATE.equals(legalPersonInfo.getLegalPersonIdEndDate()) ? "长期" : legalPersonInfo.getLegalPersonIdEndDate());
|
||||||
contactInfo.setMobilePhone(encryptor.encrypt(legalPersonInfo.getLegalPersonPhone()));
|
contactInfo.setMobilePhone(encryptor.encrypt(legalPersonInfo.getLegalPersonPhone()));
|
||||||
contactInfo.setContactEmail(encryptor.encrypt(legalPersonInfo.getLegalPersonEmail()));
|
contactInfo.setContactEmail(encryptor.encrypt(legalPersonInfo.getLegalPersonEmail()));
|
||||||
} else {
|
} else {
|
||||||
@@ -287,7 +287,7 @@ public class WechatEntryManager {
|
|||||||
licenseReqDto.setLegalPerson(legalPersonInfo.getLegalPersonName());
|
licenseReqDto.setLegalPerson(legalPersonInfo.getLegalPersonName());
|
||||||
licenseReqDto.setLicenseAddress(businessLicenceInfo.getRegisteredAddress());
|
licenseReqDto.setLicenseAddress(businessLicenceInfo.getRegisteredAddress());
|
||||||
licenseReqDto.setPeriodBegin(businessLicenceInfo.getLicenceStartDate());
|
licenseReqDto.setPeriodBegin(businessLicenceInfo.getLicenceStartDate());
|
||||||
licenseReqDto.setPeriodEnd(businessLicenceInfo.getLicenceEndDate());
|
licenseReqDto.setPeriodEnd(PayCst.LONG_TERM_DATE.equals(businessLicenceInfo.getLicenceEndDate()) ? "长期" : businessLicenceInfo.getLicenceEndDate());
|
||||||
subjectInfo.setBusinessLicenseInfo(licenseReqDto);
|
subjectInfo.setBusinessLicenseInfo(licenseReqDto);
|
||||||
WechatEntryIdentityReqDto identityInfo = new WechatEntryIdentityReqDto();
|
WechatEntryIdentityReqDto identityInfo = new WechatEntryIdentityReqDto();
|
||||||
identityInfo.setIdHolderType(PayCst.ContactPersonType.LEGAL);
|
identityInfo.setIdHolderType(PayCst.ContactPersonType.LEGAL);
|
||||||
@@ -313,8 +313,8 @@ public class WechatEntryManager {
|
|||||||
bizStoreInfo.setBizStoreName(baseInfo.getShortName());
|
bizStoreInfo.setBizStoreName(baseInfo.getShortName());
|
||||||
bizStoreInfo.setBizAddressCode(storeInfo.getMercAreaCode());
|
bizStoreInfo.setBizAddressCode(storeInfo.getMercAreaCode());
|
||||||
bizStoreInfo.setBizStoreAddress(storeInfo.getBusinessAddress());
|
bizStoreInfo.setBizStoreAddress(storeInfo.getBusinessAddress());
|
||||||
bizStoreInfo.setStoreEntrancePic(List.of(storeInfo.getDoorPic().getWechatId()));
|
bizStoreInfo.setStoreEntrancePic(storeInfo.getDoorPic().getWechatId());
|
||||||
bizStoreInfo.setIndoorPic(List.of(storeInfo.getInsidePic().getWechatId(), storeInfo.getCashierDeskPic().getWechatId()));
|
bizStoreInfo.setIndoorPic(storeInfo.getInsidePic().getWechatId());
|
||||||
salesInfo.setBizStoreInfo(bizStoreInfo);
|
salesInfo.setBizStoreInfo(bizStoreInfo);
|
||||||
WechatEntryMiniProgramReqDto miniProgramInfo = new WechatEntryMiniProgramReqDto();
|
WechatEntryMiniProgramReqDto miniProgramInfo = new WechatEntryMiniProgramReqDto();
|
||||||
miniProgramInfo.setMiniProgramAppid("wxd88fffa983758a30");
|
miniProgramInfo.setMiniProgramAppid("wxd88fffa983758a30");
|
||||||
|
|||||||
@@ -55,7 +55,8 @@ public class WechatEntryStoreInfoReqDto {
|
|||||||
* 2、请填写通过图片上传API预先上传图片生成好的MediaID。
|
* 2、请填写通过图片上传API预先上传图片生成好的MediaID。
|
||||||
*/
|
*/
|
||||||
@JSONField(name = "store_entrance_pic")
|
@JSONField(name = "store_entrance_pic")
|
||||||
private List<String> storeEntrancePic;
|
// private List<String> storeEntrancePic;
|
||||||
|
private String storeEntrancePic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 【必填】
|
* 【必填】
|
||||||
@@ -64,7 +65,8 @@ public class WechatEntryStoreInfoReqDto {
|
|||||||
* 2、请填写通过图片上传API预先上传图片生成好的MediaID。
|
* 2、请填写通过图片上传API预先上传图片生成好的MediaID。
|
||||||
*/
|
*/
|
||||||
@JSONField(name = "indoor_pic")
|
@JSONField(name = "indoor_pic")
|
||||||
private List<String> indoorPic;
|
// private List<String> indoorPic;
|
||||||
|
private String indoorPic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 【选填】
|
* 【选填】
|
||||||
|
|||||||
Reference in New Issue
Block a user