mt price
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package mtwmapi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
@@ -95,6 +96,18 @@ func TestRetailCatSkuBatchDelete(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
//批量更新商品进货价
|
||||
func TestBatchSetPrice(t *testing.T) {
|
||||
param := []*SpuData{
|
||||
{
|
||||
AppSpuCode: "25420",
|
||||
SkuID: "11395394828",
|
||||
PurchasePrice: "50",
|
||||
},
|
||||
}
|
||||
err := api.BatchSetRestockingPrice(utils.GetUUID(), "12422751", param)
|
||||
fmt.Println(err)
|
||||
}
|
||||
func TestRetailDelete(t *testing.T) {
|
||||
err := api.RetailDelete(utils.GetUUID(), testPoiCode, "32427")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user