This commit is contained in:
邹宗楠
2025-07-15 18:15:51 +08:00
parent e2cdea1905
commit 121b48994c
5 changed files with 135 additions and 9 deletions

View File

@@ -86,7 +86,7 @@ func TestSkuListDelete(t *testing.T) {
Page: page,
PageSize: 100,
}
foodList, err := api.SkuList(utils.Int2Str(102778), param)
foodList, err := api.SkuList(utils.Int2Str(667247), param)
if err != nil {
break
}
@@ -94,7 +94,7 @@ func TestSkuListDelete(t *testing.T) {
for k, v := range foodList.List {
if v.CustomSkuID == "" {
api.AccessAPI2("sku.delete", map[string]interface{}{
"shop_id": "102778",
"shop_id": "667247",
"sku_id": v.SkuId,
}, utils.GetUUID())
globals.SugarLogger.Debugf("---k := %d,delete_name:= %s", k, v.Name)
@@ -328,7 +328,7 @@ func TestDeleteStoreSku(t *testing.T) {
}
func TestDeleteSku(t *testing.T) {
shopId := "804627"
shopId := "667247"
param1 := &SkuListParams{
Page: 1,
PageSize: 100,