This commit is contained in:
YAS\29473
2025-12-04 17:22:41 +08:00
parent 649a27047b
commit f5d5bc0961
2 changed files with 3 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ import com.jsowell.common.util.StringUtils;
*/
public enum ThirdPlatformTypeEnum {
LIAN_LIAN_PLATFORM("1", "上海联联平台", "425010765"),
LIAN_LIAN_TEST_PLATFORM("66", "上海联联平台", "425010765"),
NING_BO_PLATFORM("2", "宁波平台", "14405899X"), // (原本名称为中电联平台)
JIANG_SU_PLATFORM("3", "江苏省平台", "726079387"),
YONG_CHENG_BO_CHE("4", "甬城泊车平台", "330205020"),

View File

@@ -72,7 +72,7 @@ import java.util.stream.Collectors;
public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
Logger logger = LoggerFactory.getLogger(this.getClass());
// 平台类型
private final String thirdPlatformType = ThirdPlatformTypeEnum.LIAN_LIAN_PLATFORM.getTypeCode();
private final String thirdPlatformType = ThirdPlatformTypeEnum.LIAN_LIAN_TEST_PLATFORM.getTypeCode();
@Autowired
private PileMerchantInfoService pileMerchantInfoService;
@@ -1900,7 +1900,7 @@ public class LianLianPlatformServiceImpl implements ThirdPartyPlatformService {
*/
private ThirdPartySecretInfoVO getLianLianPlatformSecretInfo() {
// 通过第三方平台类型查询相关配置信息
ThirdPartySecretInfoVO thirdPartySecretInfoVO = thirdpartySecretInfoService.queryByThirdPlatformType(ThirdPlatformTypeEnum.LIAN_LIAN_PLATFORM.getTypeCode());
ThirdPartySecretInfoVO thirdPartySecretInfoVO = thirdpartySecretInfoService.queryByThirdPlatformType(ThirdPlatformTypeEnum.LIAN_LIAN_TEST_PLATFORM.getTypeCode());
if (thirdPartySecretInfoVO == null) {
throw new BusinessException(ReturnCodeEnum.CODE_SELECT_INFO_IS_NULL);
}