diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index d10588cba..20251c4ef 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -736,12 +736,7 @@ func getGetStoresSkusBaseSQL(db *dao.DaoDB, storeIDs, skuIDs []int, upcs []strin func GetStoresSkus(ctx *jxcontext.Context, storeIDs, skuIDs []int, upcs []string, isFocus, isHighPrice bool, priceType int, keyword string, isBySku, isAct bool, params map[string]interface{}, offset, pageSize int) (skuNamesInfo *dao.StoreSkuNamesInfo, err error) { //权限 管理员/未登录人员不进入,商城不进入 - cc, _ := ctx.GetV2AuthInfo() - fmt.Println("111111111111111111", cc.AppID) - fmt.Println("111111111111111111", cc.Token) - fmt.Println("111111111111111111", cc.TokenType) fmt.Println("111111111111111111", permission.IsRoled(ctx)) - fmt.Println("111111111111111111", cc.Name, cc.Mobile) if permission.IsRoled(ctx) { if storeIDsMap, err := permission.GetUserStoresResultMap(ctx.GetUserID()); err == nil { var storeIDs2 []int diff --git a/tests/default_test.go b/tests/default_test.go index 4487844b6..e7aed550f 100644 --- a/tests/default_test.go +++ b/tests/default_test.go @@ -20,7 +20,8 @@ func init() { // TestGet is a sample to run an endpoint test func TestGet(t *testing.T) { - fmt.Println(7&16 != 0) - fmt.Println(3&16 != 0) - fmt.Println(23&16 != 0) + //fmt.Println(7&16 != 0) + //fmt.Println(3&16 != 0) + //fmt.Println(23&16 != 0) + fmt.Println("1111111111111111111", "") }