This commit is contained in:
邹宗楠
2025-07-31 10:14:37 +08:00
parent 266af058d6
commit 539c61e348
2 changed files with 7 additions and 14 deletions

View File

@@ -38,7 +38,7 @@ func TestAggreOrNotAggreAfs(t *testing.T) {
} }
func TestGetSkuDetailLocalID(t *testing.T) { func TestGetSkuDetailLocalID(t *testing.T) {
data, err := a.GetSkuDetailLocalID("64270360", "30460") data, err := a.GetSkuDetailLocalID("83334636", "33189")
globals.SugarLogger.Debugf("data=%s", utils.Format4Output(data, false)) globals.SugarLogger.Debugf("data=%s", utils.Format4Output(data, false))
globals.SugarLogger.Debugf("data=%s", err) globals.SugarLogger.Debugf("data=%s", err)
} }

View File

@@ -55,7 +55,7 @@ func TestGetSkuDetail(t *testing.T) {
// 查询商品详情本地商品id // 查询商品详情本地商品id
func TestGetSkuDetailLocalId(t *testing.T) { func TestGetSkuDetailLocalId(t *testing.T) {
data, err := a.GetSkuDetail("3644301338084557023", "") data, err := a.GetSkuDetail("3765731983553069079", "")
fmt.Println(err) fmt.Println(err)
globals.SugarLogger.Debugf("====%s", utils.Format4Output(data, false)) globals.SugarLogger.Debugf("====%s", utils.Format4Output(data, false))
} }
@@ -176,17 +176,11 @@ func TestBatchDecrypt(t *testing.T) {
} }
var c = []int64{ var c = []int64{
63325222, 64251217,
63462817, 64251215,
63463014, 64251213,
63463026, 64251212,
63463365, 64251211,
63467326,
63467462,
63503199,
63503537,
63504222,
63504497,
} }
// 删除已经创建商品,重新同步 // 删除已经创建商品,重新同步
@@ -203,7 +197,6 @@ func TestDeleteSkuAndUploadSku(t *testing.T) {
StoreId: v, StoreId: v,
}) })
if err != nil { if err != nil {
globals.SugarLogger.Debugf("=index := %d ,err := %s", i, utils.Format4Output(err, false))
continue continue
} }
if len(result.Data) == 0 { if len(result.Data) == 0 {