This commit is contained in:
richboo111
2022-11-16 14:50:54 +08:00
parent 02ca4912a2
commit 99218d8524
3 changed files with 23 additions and 4 deletions

View File

@@ -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 {