1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package mtwmapi
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"time"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
@@ -145,3 +146,14 @@ func (a *API) FoodSkuSellStatus(poiCode string, foodData []map[string]interface{
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
||||
// GetSkuPurchasePrice 获取商品进货价
|
||||
func (a *API) GetSkuPurchasePrice(poiCode, skuId string) {
|
||||
data, err := a.AccessAPI("retail/purchase/price/list", true, map[string]interface{}{
|
||||
KeyAppPoiCode: poiCode,
|
||||
"sku_id": skuId,
|
||||
"page_size": 20,
|
||||
})
|
||||
globals.SugarLogger.Debugf("data :== %s", utils.Format4Output(data, false))
|
||||
globals.SugarLogger.Debugf("err :== %s", utils.Format4Output(err, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user