|
|
|
@ -51,17 +51,6 @@ public class SPIBaseService {
|
|
|
|
|
shop.setGmtCreate(new Date());
|
|
|
|
|
shop.setGmtModified(new Date());
|
|
|
|
|
shopService.insert(shop);
|
|
|
|
|
|
|
|
|
|
// 创建素材文件夹
|
|
|
|
|
MaterialCreateFolderRequest request = new MaterialCreateFolderRequest();
|
|
|
|
|
MaterialCreateFolderParam param = request.getParam();
|
|
|
|
|
param.setName(MaterialConst.moveDefaultFolderName);
|
|
|
|
|
param.setType(0);
|
|
|
|
|
MaterialCreateFolderResponse response = request.execute();
|
|
|
|
|
Ret checkRet = CommonTool.checkDdApiRetStatus(response);
|
|
|
|
|
if (CommonTool.isFailRet(checkRet)) {
|
|
|
|
|
log.error("创建素材文件夹失败,shopId:{}", shopId);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
shopInfo = shopService.getShopInfoByShop(shop);
|
|
|
|
|
}
|
|
|
|
|