This commit is contained in:
邹宗楠
2022-10-20 16:59:12 +08:00
parent 76591a404a
commit 9ba6b8261f
4 changed files with 15 additions and 7 deletions

View File

@@ -113,6 +113,7 @@ func (a *API) CreateStoreCommodity(skuParam *product_addV2_request.ProductAddV2P
request.Param = skuParam
result, err := request.Execute(a.accessTokenObj)
globals.SugarLogger.Debugf("CreateStoreCommodity-------------api:=%s", utils.Format4Output(result, false))
if err != nil {
return nil, err
}

View File

@@ -36,7 +36,7 @@ func TestCategory(t *testing.T) {
}
func TestGetCatePropertyV2(t *testing.T) {
data, err := a.GetCatePropertyV2(22531)
data, err := a.GetCatePropertyV2(29146)
fmt.Println("err=====", err)
fmt.Println("data====", data) // 202209281558450102081001701D7B32C5
}
@@ -327,3 +327,8 @@ func TestGetSkuList(t *testing.T) {
//StoreId: 63114504,
})
}
func Test11111(t *testing.T) {
fmt.Println((1 & 1) != 0)
fmt.Println(1&2 == 0)
}