Showing
1 changed file
with
7 additions
and
3 deletions
@@ -251,11 +251,14 @@ public class ImperfectPublishProcessor implements PublishProcessor<ImperfectOrde | @@ -251,11 +251,14 @@ public class ImperfectPublishProcessor implements PublishProcessor<ImperfectOrde | ||
251 | iosr.getUid(), iosr.getStorageId(), imageList); | 251 | iosr.getUid(), iosr.getStorageId(), imageList); |
252 | throw new UfoServiceException(400, "imageList[imageUrl]错误"); | 252 | throw new UfoServiceException(400, "imageList[imageUrl]错误"); |
253 | } | 253 | } |
254 | - | ||
255 | - if (type == ImageType.feature.code){ | 254 | + //TODO next version 6.9.2 app need fix |
255 | + int type0 = code / 100; | ||
256 | + if (type0 == ImageType.feature.code){ | ||
257 | + igi.setType(type0); | ||
256 | featureImageList.add(igi); | 258 | featureImageList.add(igi); |
257 | } | 259 | } |
258 | - if (type == ImageType.flaw.code){ | 260 | + if (type0 == ImageType.flaw.code){ |
261 | + igi.setType(type0); | ||
259 | flawImageList.add(igi); | 262 | flawImageList.add(igi); |
260 | } | 263 | } |
261 | } | 264 | } |
@@ -286,4 +289,5 @@ public class ImperfectPublishProcessor implements PublishProcessor<ImperfectOrde | @@ -286,4 +289,5 @@ public class ImperfectPublishProcessor implements PublishProcessor<ImperfectOrde | ||
286 | igi.setGoodImg(defaultGoodsImag); | 289 | igi.setGoodImg(defaultGoodsImag); |
287 | return igi; | 290 | return igi; |
288 | } | 291 | } |
292 | + | ||
289 | } | 293 | } |
-
Please register or login to post a comment