xhxu 3 лет назад
Родитель
Сommit
8352b2d32b
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java Просмотреть файл

@@ -322,9 +322,9 @@ public class TtMerchantPoiServiceImpl implements TtMerchantPoiService {


supplierSync.setPoiId(merchantPoi.getPoiId()); supplierSync.setPoiId(merchantPoi.getPoiId());


//todo 如果抖音没有这个类型怎么办
//todo 必填 如果抖音没有这个类型怎么办 默认餐饮???
//Integer ttType = EnumBusiness.getEnum(businessId).getTtType(); //Integer ttType = EnumBusiness.getEnum(businessId).getTtType();
Integer ttType = Constant.default_business;
Integer ttType = Constant.dy_business;
if(ttType == null){ if(ttType == null){
logger.error("未找到对应的店铺类型"); logger.error("未找到对应的店铺类型");
throw new MallinkException(ErrorCode.MSG_METHOD_REQUEST_ERROR.getCode(),"未找到对应的店铺类型"); throw new MallinkException(ErrorCode.MSG_METHOD_REQUEST_ERROR.getCode(),"未找到对应的店铺类型");


Загрузка…
Отмена
Сохранить