买家端bugfix
This commit is contained in:
@@ -164,6 +164,9 @@ public class ListingMallServiceImpl extends ServiceImpl<ListingMallMapper, Listi
|
||||
vo.setUpdateTime(entity.getUpdateTime());
|
||||
vo.setShopName(designer != null ? designer.getShopName() : null);
|
||||
vo.setImages(imageMap);
|
||||
vo.setDesignFor(entity.getDesignFor());
|
||||
vo.setProductCategory(entity.getProductCategory());
|
||||
vo.setAvatar(designer != null ? designer.getAvatar() : null);
|
||||
return vo;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.aida.seller.module.listing.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -41,4 +43,13 @@ public class ListingDetailVO implements Serializable {
|
||||
|
||||
@Schema(description = "图片列表,key 为 category,value 为该分类下所有图片 URL")
|
||||
private Map<String, List<String>> images;
|
||||
|
||||
/** 适用性别: male/female */
|
||||
private String designFor;
|
||||
|
||||
/** 商品分类列表 */
|
||||
private List<String> productCategory;
|
||||
|
||||
/** 店铺头像URL */
|
||||
private String avatar;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user