diff --git a/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java b/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java index e0236ff4a..60936558a 100644 --- a/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java +++ b/jsowell-common/src/main/java/com/jsowell/common/constant/Constants.java @@ -91,6 +91,7 @@ public class Constants { // 对接第三方平台,我方OPERATORID public static final String JSOWELL_OPERATORID = "MA1JLFUU8"; + public static final String JSOWELL_OPERATORUSCID = "91310118MA1JLFUU81"; public static final String OPERATORID_LIANLIAN = "MA1JLFUU8"; public static final String OPERATORID_JIANG_SU = "MA1X78KH5"; diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/ThirdPartyPlatformService.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/ThirdPartyPlatformService.java index 3bb383ec7..9e1eb30f9 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/ThirdPartyPlatformService.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/ThirdPartyPlatformService.java @@ -4,6 +4,7 @@ import cn.hutool.http.HttpUtil; import cn.hutool.json.JSONUtil; import com.alibaba.fastjson2.JSON; import com.google.common.collect.Maps; +import com.jsowell.common.constant.Constants; import com.jsowell.common.util.DateUtils; import com.jsowell.common.util.JWTUtils; import com.jsowell.common.util.StringUtils; @@ -14,6 +15,7 @@ import com.jsowell.pile.thirdparty.CommonParamsDTO; import com.jsowell.pile.vo.ThirdPartySecretInfoVO; import com.jsowell.thirdparty.lianlian.vo.AccessTokenVO; import com.jsowell.thirdparty.lianlian.vo.LianLianResultVO; +import com.jsowell.thirdparty.platform.domain.SupOperatorInfo; import com.jsowell.thirdparty.platform.dto.QueryOrderDTO; import com.jsowell.thirdparty.platform.util.Cryptos; import com.jsowell.thirdparty.platform.util.Encodes; @@ -37,6 +39,16 @@ public interface ThirdPartyPlatformService extends InitializingBean { throw new UnsupportedOperationException("This method is not yet implemented"); } + default SupOperatorInfo getJsowellOperatorInfo() { + SupOperatorInfo operatorInfo = new SupOperatorInfo(); + operatorInfo.setOperatorID(Constants.JSOWELL_OPERATORID); + operatorInfo.setOperatorUSCID(Constants.JSOWELL_OPERATORUSCID); + operatorInfo.setOperatorName("万车充运营管理平台"); + operatorInfo.setOperatorTel1("4001602660"); + operatorInfo.setOperatorRegAddress("上海市青浦区华新镇华隆路1777号6幢D座2层205室"); + return operatorInfo; + } + /** * query_token 获取token,提供给第三方平台使用 * @param dto diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/NeiMengGuPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/NeiMengGuPlatformServiceImpl.java index f1048c005..e87b74af9 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/NeiMengGuPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/service/impl/NeiMengGuPlatformServiceImpl.java @@ -174,6 +174,7 @@ public class NeiMengGuPlatformServiceImpl implements ThirdPartyPlatformService { List merchantList = thirdPartyStationRelationService.selectMerchantList(thirdPlatformType); PageInfo pageInfo = new PageInfo<>(merchantList); List operatorInfos = Lists.newArrayList(); + operatorInfos.add(getJsowellOperatorInfo()); if (CollectionUtils.isNotEmpty(pageInfo.getList())) { SupOperatorInfo supOperatorInfo; for (MerchantInfoVO merchantInfoVO : pageInfo.getList()) {