用户列表导出接口
This commit is contained in:
@@ -384,8 +384,8 @@ public class EntryManager {
|
||||
// verifyEntryParam(merchantDto);
|
||||
// uploadParamImage(merchantDto);
|
||||
//// System.out.println(merchantDto);
|
||||
EntryRespDto respDto = entryMerchant(merchantDto, PayCst.Type.WECHAT);
|
||||
// entryMerchant(merchantDto, PayCst.Type.ALIPAY);
|
||||
// EntryRespDto respDto = entryMerchant(merchantDto, PayCst.Type.WECHAT);
|
||||
EntryRespDto respDto = entryMerchant(merchantDto, PayCst.Type.ALIPAY);
|
||||
// entryMerchant(merchantDto, PayCst.Type.WECHAT, PayCst.Type.ALIPAY);
|
||||
System.out.println(respDto);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.czg.third.alipay;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.alipay.v3.ApiException;
|
||||
import com.alipay.v3.api.*;
|
||||
@@ -110,7 +111,10 @@ public class AlipayIsvEntryManager {
|
||||
respDto.setEntryId(batchNo);
|
||||
|
||||
AlipayOpenAgentFacetofaceSignModel signModel = buildFaceToFaceModel(reqDto, batchNo);
|
||||
File businessLicensePic = UploadFileUtil.getFileByUrl(reqDto.getBusinessLicenceInfo().getLicensePic().getUrl());
|
||||
File businessLicensePic = null;
|
||||
if (reqDto.getBusinessLicenceInfo() != null && reqDto.getBusinessLicenceInfo().getLicensePic() != null && StrUtil.isNotBlank(reqDto.getBusinessLicenceInfo().getLicensePic().getUrl())) {
|
||||
businessLicensePic = UploadFileUtil.getFileByUrl(reqDto.getBusinessLicenceInfo().getLicensePic().getUrl());
|
||||
}
|
||||
File shopScenePic = UploadFileUtil.getFileByUrl(reqDto.getStoreInfo().getInsidePic().getUrl());
|
||||
File shopSignBoardPic = UploadFileUtil.getFileByUrl(reqDto.getStoreInfo().getDoorPic().getUrl());
|
||||
|
||||
@@ -237,10 +241,12 @@ public class AlipayIsvEntryManager {
|
||||
signModel.setRate("0.38");
|
||||
signModel.setSignAndAuth(true);
|
||||
|
||||
signModel.setBusinessLicenseNo(licenceInfo.getLicenceNo());
|
||||
signModel.setBusinessLicenseMobile(legalPersonInfo.getLegalPersonPhone());
|
||||
signModel.setLongTerm(PayCst.LONG_TERM_DATE.equals(licenceInfo.getLicenceEndDate()));
|
||||
signModel.setDateLimitation(licenceInfo.getLicenceStartDate());
|
||||
if (licenceInfo != null) {
|
||||
signModel.setBusinessLicenseNo(licenceInfo.getLicenceNo());
|
||||
signModel.setBusinessLicenseMobile(legalPersonInfo.getLegalPersonPhone());
|
||||
signModel.setLongTerm(PayCst.LONG_TERM_DATE.equals(licenceInfo.getLicenceEndDate()));
|
||||
signModel.setDateLimitation(licenceInfo.getLicenceStartDate());
|
||||
}
|
||||
|
||||
signModel.setShopName(baseInfo.getShortName());
|
||||
|
||||
@@ -258,6 +264,32 @@ public class AlipayIsvEntryManager {
|
||||
|
||||
public static void main(String[] args) {
|
||||
// confirmRequest("2026010815384505500018243");
|
||||
queryMerchantBatchStatus(null, "2026010815384505500018243");
|
||||
queryMerchantBatchStatus(null, "2026012310512107600067177");
|
||||
|
||||
// AggregateMerchantDto merchantDto = new AggregateMerchantDto();
|
||||
// merchantDto.setMerchantCode("CZG20260112151202099");
|
||||
//
|
||||
// MerchantBaseInfoDto baseInfoDto = new MerchantBaseInfoDto();
|
||||
// baseInfoDto.setUserType("3");
|
||||
// baseInfoDto.setShortName("巩奕杰_商户");
|
||||
// baseInfoDto.setMccCode("A0001_B0199");
|
||||
// baseInfoDto.setAlipayAccount("15596653310");
|
||||
// baseInfoDto.setContactPersonType("SUPER");
|
||||
// baseInfoDto.setContactName("巩奕杰");
|
||||
// baseInfoDto.setCertType("0");
|
||||
// baseInfoDto.setContactPhone("15596653310");
|
||||
// baseInfoDto.setContactEmail("sankejuzi@163.com");
|
||||
// merchantDto.setMerchantBaseInfo(baseInfoDto);
|
||||
//
|
||||
// StoreInfoDto storeInfoDto = new StoreInfoDto();
|
||||
// storeInfoDto.setBusinessAddress("陕西省西安市浐灞欧亚国际");
|
||||
// storeInfoDto.setMercAreaCode("610113");
|
||||
// storeInfoDto.setMercProvCode("610000");
|
||||
// storeInfoDto.setMercCityCode("610100");
|
||||
// storeInfoDto.setDoorPic(new ImageDto().setUrl("https://cashier-oss.oss-cn-beijing.aliyuncs.com/upload/1/2c207c6f4a764ad18e501ed10fbfad59.png"));
|
||||
// storeInfoDto.setInsidePic(new ImageDto().setUrl("https://cashier-oss.oss-cn-beijing.aliyuncs.com/upload/1/394b4834698a47e9b75419a5fd7f7de7.jpg"));
|
||||
// merchantDto.setStoreInfo(storeInfoDto);
|
||||
//
|
||||
// entryMerchant(null, merchantDto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user