This commit is contained in:
邹宗楠
2024-03-27 13:55:11 +08:00
parent 191acdd13e
commit ef3d065f75
11 changed files with 58 additions and 31 deletions

View File

@@ -8,7 +8,7 @@ import (
)
// 京西速食(蔬菜)
var token1 = `{"access_token":"bdd38935-51ee-496d-864f-3ad9cb79d723","expires_in":1708521089,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"61c242d5-2b37-41a3-bf4a-199723621f58","authority_id":""}`
var token1 = `{"access_token":"8be82c25-3b46-41a6-8957-623b09cb2a5b","expires_in":1708521089,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"61c242d5-2b37-41a3-bf4a-199723621f58","authority_id":""}`
// 美好菜市
//var token1 = `{"access_token":"9a315a03-c737-4a82-ae52-c9a6ce827007","expires_in":1699490747,"scope":"SCOPE","shop_id":68032645,"shop_name":"美好菜市","refresh_token":"8334c006-5301-4d25-911b-4d8cc7b70ebb","authority_id":""}`

View File

@@ -169,8 +169,8 @@ func TestDeleteSkuAndUploadSkuFengJinBiXu222(t *testing.T) {
Status: 0,
CheckStatus: 3, // 1-未提交2-待审核3-审核通过4-审核未通过5-封禁7-审核通过待上架
Page: int64(i),
Size: 100,
StoreId: 63465423,
Size: 1,
StoreId: 152631194,
})
if err != nil {
globals.SugarLogger.Debugf("=index := %d ,err := %s", i, utils.Format4Output(err, false))
@@ -179,12 +179,12 @@ func TestDeleteSkuAndUploadSkuFengJinBiXu222(t *testing.T) {
if len(result.Data) == 0 {
break
}
for _, v := range result.Data {
err := a.DeleteStoreCommodity(v.ProductId)
if err != nil {
errList = append(errList, err)
}
}
//for _, v := range result.Data {
// err := a.DeleteStoreCommodity(v.ProductId)
// if err != nil {
// errList = append(errList, err)
// }
//}
}
for _, v := range errList {