1
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user