1. goodsList = append(goodsList, map[string]interface{}{
    2. "id": value.Id,
    3. "name": value.Name,
    4. "goods_brief": value.GoodsBrief,
    5. "desc": value.GoodsDesc,
    6. "ship_free": value.ShipFree,
    7. "images": value.Images,
    8. "desc_images": value.DescImages,
    9. "front_image": value.GoodsFrontImage,
    10. "shop_price": value.ShopPrice,
    11. "ctegory": map[string]interface{}{
    12. "id": value.Category.Id,
    13. "name": value.Category.Name,
    14. },
    15. "brand": map[string]interface{}{
    16. "id": value.Brand.Id,
    17. "name": value.Brand.Name,
    18. "logo": value.Brand.Logo,
    19. },
    20. "is_hot": value.IsHot,
    21. "is_new": value.IsNew,
    22. "on_sale": value.OnSale,
    23. })