From a55156e77ee62b0bf6b61aaffb43f92beb75abb9 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 20 May 2019 10:32:56 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E6=9B=B4=E6=96=B0ebai=20store=20page=20tok?= =?UTF-8?q?en?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/ebaiapi/ebaiapi_test.go | 4 ++-- platformapi/ebaiapi/shop_sku_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platformapi/ebaiapi/ebaiapi_test.go b/platformapi/ebaiapi/ebaiapi_test.go index 5a30496e..e54f1b6d 100644 --- a/platformapi/ebaiapi/ebaiapi_test.go +++ b/platformapi/ebaiapi/ebaiapi_test.go @@ -30,8 +30,8 @@ func init() { // prod // api = New("34665", "c3db75b754ea2d89") - api.SetStoreCookie("WMUSS", "AADIBAABbDlEpGl47c1EyBFcJSidBTBJHFHZEXyMSdBllJTZ9AUNOKV0tZFB9FlRVM73gEAIHRjBVagwAAHh98X2oPJ34Gal0ofFJBYXZ2Xnc6LCEXWQVnVxs7LDlaKBlFNz9DPCogYyZxJQhoHGVfVRIBa2oFUkEfDm1YZxZwLEwvZMjpB18rjw%7E3CaMQAo") - api.SetStoreCookie("WMSTOKEN", "HwXAAB9SGxnTT8pbEwWRDQsNGB3Y09_PF5rO157QUcoLRQAAAoKlgUEiVTOhIf5LjkCoFpAwwCaAAAUr-GEu-yDBeNAQAAHNneF25-uRjhYtgX4rsAAGHurh8C5GAQAA") + api.SetStoreCookie("WMUSS", "AABQBAAA9JExJfyIdbRx2Y0MCUUJVFxtQQ3EUKhxXHWhqLAIIaCVTMiV0TxIQRnRTAR0UWHFwwax8if0k9VmUlQRImSHlLGyxwEHoCIEB2cgc8CCMYOA83WQ5%7EFmRlOiZ2YG1wLAkdHBgXHTdXFCpeTzECZ2kRZMjpB9-U9g53J88QvwMEACb-kRKffAA0As") + api.SetStoreCookie("WMSTOKEN", "AOQOAABfcngcYCZWDx97CydkZl1-ajR9fjJkLV0eGEdGZmA97RmFzYkEaOU845IuzCQvLYBGiUwAAUnNLF--yDBdRAQAAlD2wGfHIhBoyyRcdt7sAAGsFrx9a3AAjBIA") } func TestTest(t *testing.T) { diff --git a/platformapi/ebaiapi/shop_sku_test.go b/platformapi/ebaiapi/shop_sku_test.go index 56030822..f69040f1 100644 --- a/platformapi/ebaiapi/shop_sku_test.go +++ b/platformapi/ebaiapi/shop_sku_test.go @@ -49,7 +49,7 @@ func TestSkuGetItemsByCategoryId(t *testing.T) { func TestSkuList(t *testing.T) { result, err := api.SkuList(testShopID, map[string]interface{}{ - KeySkuID: 15570439700710601, + KeySkuID: 15579787500720732, // "delete": 1, }) if err != nil { @@ -96,7 +96,7 @@ func TestSkuCreate(t *testing.T) { func TestSkuUpdate(t *testing.T) { result, err := api.SkuUpdate("2", 15579787500720732, map[string]interface{}{ // "name": "高级商品2015a333约1100g/份", - "rtf": "https://image-star.elemecdn.com/pb/488b65e430305e54acae89f64c24e6d01b", + "rtf": "http://www.rosy.net.cn/rtf.html", }) if err != nil { t.Fatal(err)