- 继续重构新版同步逻辑

This commit is contained in:
gazebo
2019-07-12 15:01:49 +08:00
parent 7d59d1d0f1
commit 8f0f3f2690
7 changed files with 196 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
package ebai
import (
"testing"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
)
func TestGetStoreAllSkus(t *testing.T) {
skuNameList, err := new(PurchaseHandler).GetStoreAllSkus(jxcontext.AdminCtx, testShopID, testShopBaiduID)
if err != nil {
t.Fatal(err.Error())
}
t.Log(utils.Format4Output(skuNameList, false))
t.Log(len(skuNameList))
}