fix:批发商品列表

master
howell 4 years ago
parent 9d730619a2
commit 0c71533c5c

@ -1030,6 +1030,10 @@ func (g *goodsLogic) Detail(args *strict.ArgsDetail, uid uint) (result strict.Re
return
}
if err = dbc.DB.First(&jyy.Goods{}, "goods_id = ?", args.GoodsID).Error; err != nil {
return
}
// 品牌名称获取
var brand goods3.RecookGoodsBrandModel
if err = dbc.DB.Table(brand.TableName()).First(&brand, "id = ?", rg.BrandID).Error; err != nil {

Loading…
Cancel
Save