This commit is contained in:
邹宗楠
2024-05-24 09:49:14 +08:00
parent 6afc1582fa
commit ad5f763b56
16 changed files with 1547 additions and 81 deletions

View File

@@ -8,17 +8,11 @@ import (
"testing"
)
//func TestQueryPageBrandInfo(t *testing.T) {
// result, _, err := api.QueryPageBrandInfo(0, 0, 0, "京西")
// if err != nil {
// t.Fatal(err)
// }
// if len(result) == 0 {
// t.Fatal("QueryPageBrandInfo brand list is empty!")
// }
// baseapi.SugarLogger.Debug(utils.Format4Output(result, false), err)
//}
//
func TestQueryPageBrandInfo(t *testing.T) {
fmt.Println((3 & 1) != 0)
fmt.Println(0&256 == 0)
}
func TestQueryCategoriesByOrgCode(t *testing.T) {
result, err := api.QueryCategoriesByOrgCode()
if err != nil {