|
|
@@ -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(),"未找到对应的店铺类型"); |
|
|
|