Commit 26554a7e by zhiwj

门店添加默认图片

parent f0b23786
......@@ -588,7 +588,7 @@ public class StoreApiServiceImpl implements StoreApiService {
List<StorePhotoDTO> defaultList = Collections.singletonList(storePhotoDTO);
if (CollectionUtils.isNotEmpty(list)) {
for (StoreDTO storeDTO : list) {
if (CollectionUtils.isNotEmpty(storeDTO.getPhotoList())) {
if (CollectionUtils.isEmpty(storeDTO.getPhotoList())) {
storeDTO.setPhotoList(defaultList);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment