|
|
|
@ -326,14 +326,19 @@ public class MoveService {
|
|
|
|
|
}
|
|
|
|
|
if (sizeTemplateIdObj instanceof String) {
|
|
|
|
|
long cid = moveBaseData.getLong("cid");
|
|
|
|
|
long commonTemplateId = 0;
|
|
|
|
|
// TODO 这里可能不需要
|
|
|
|
|
// sizeTemplateId = $this->moveService->getShopSettingSizeTemplateIdByCid($shopId, $condition['moveShopSettingId'], $cid, $commonTemplateId);
|
|
|
|
|
sizeTemplateId = getShopSettingSizeTemplateIdByCid(shopId, condition.getMoveShopSettingId(), cid, commonTemplateId);
|
|
|
|
|
} else {
|
|
|
|
|
sizeTemplateId = (int) sizeTemplateIdObj;
|
|
|
|
|
}
|
|
|
|
|
return sizeTemplateId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int getShopSettingSizeTemplateIdByCid(long shopId, Integer moveShopSettingId, long cid, long commonTemplateId) {
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<String> getMovePublishAllImgs(JSONObject productDetailBase) {
|
|
|
|
|
List<String> imgUrls = new ArrayList<>();
|
|
|
|
|
imgUrls.addAll(Arrays.asList(((String) productDetailBase.getOrDefault("mainImgUrls", "")).split("\\|")));
|
|
|
|
|