添加自动获取分类id
This commit is contained in:
@@ -1,19 +1,12 @@
|
||||
package jdapi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"testing"
|
||||
)
|
||||
|
||||
//
|
||||
//import (
|
||||
// "fmt"
|
||||
// "testing"
|
||||
//
|
||||
// "git.rosy.net.cn/baseapi"
|
||||
// "git.rosy.net.cn/baseapi/utils"
|
||||
//)
|
||||
//
|
||||
//func TestQueryPageBrandInfo(t *testing.T) {
|
||||
// result, _, err := api.QueryPageBrandInfo(0, 0, 0, "京西")
|
||||
// if err != nil {
|
||||
@@ -40,6 +33,16 @@ func TestChangeShopCategoryOrder(t *testing.T) {
|
||||
api.ChangeShopCategoryOrder(0, aa)
|
||||
}
|
||||
|
||||
func TestGetSkuCategoryByName(t *testing.T) {
|
||||
data, err := api.GetSkuCategoryBySkuName("九龙醉 42度 浓香型 白贴九龙白酒")
|
||||
globals.SugarLogger.Debugf("data:=%s", utils.Format4Output(data, false))
|
||||
globals.SugarLogger.Debugf("data:=%v", err)
|
||||
}
|
||||
|
||||
func Test222(t *testing.T) {
|
||||
fmt.Println(1&256 == 0)
|
||||
}
|
||||
|
||||
//
|
||||
//func TestQueryChildCategoriesForOP(t *testing.T) {
|
||||
// result, err := api.QueryChildCategoriesForOP(0)
|
||||
|
||||
Reference in New Issue
Block a user