|
|
|
@ -23,7 +23,6 @@ import (
|
|
|
|
|
"recook/internal/v2/model/gys/enterprise"
|
|
|
|
|
goods2 "recook/internal/v2/model/gys/goods"
|
|
|
|
|
strict "recook/internal/v2/model/http/goods"
|
|
|
|
|
"recook/internal/v2/model/jyy"
|
|
|
|
|
"recook/internal/v2/model/recook/freight"
|
|
|
|
|
goods3 "recook/internal/v2/model/recook/goods"
|
|
|
|
|
manage2 "recook/internal/v2/model/recook/manage"
|
|
|
|
@ -1031,10 +1030,6 @@ 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 {
|
|
|
|
|