获取平台门店商品价格
This commit is contained in:
@@ -2532,14 +2532,7 @@ func GetVendorStoreSkuPrice(ctx *jxcontext.Context, vendorIDs []int, skuID int,
|
|||||||
storeDetail *dao.StoreDetail
|
storeDetail *dao.StoreDetail
|
||||||
inStoreSku = &partner.StoreSkuInfo{}
|
inStoreSku = &partner.StoreSkuInfo{}
|
||||||
)
|
)
|
||||||
storeMap := &model.StoreMap{
|
|
||||||
VendorID: vendorID,
|
|
||||||
Status: model.SkuStatusNormal,
|
|
||||||
VendorStoreID: vendorStoreID,
|
|
||||||
}
|
|
||||||
db := dao.GetDB()
|
db := dao.GetDB()
|
||||||
dao.GetEntity(db, storeMap, "StoreID")
|
|
||||||
fmt.Println(storeMap.StoreID)
|
|
||||||
skuNameList, err := dao.GetSkus(db, []int{skuID}, nil, nil, nil)
|
skuNameList, err := dao.GetSkus(db, []int{skuID}, nil, nil, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return retVal, err
|
return retVal, err
|
||||||
|
|||||||
Reference in New Issue
Block a user