银豹变更商品状态

This commit is contained in:
苏尹岚
2020-07-01 17:26:28 +08:00
parent 1957696d84
commit b853dbb954
3 changed files with 25 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ func init() {
sugarLogger = logger.Sugar()
baseapi.Init(sugarLogger)
api = New("1131812849010800342", "1F42E107A9A6B6B91B064B0B9D1147A1") //总店
api.SetCookie(".POSPALAUTH30220", "0102A5F8291F691DD808FEA560EE80711DD808000833003900330036003000380037003A0000012F00FF7C8E026CA3DD2B6D2E5369FB1BBEEE8C3B9BE392")
api.SetCookie(".POSPALAUTH30220", "01022774A1129E1DD808FE27DC6574A61DD808000833003900330036003000380037003A0000012F00FF70654DF44FCE339A45E682CD9ECC45C91C7A11AA")
}
func TestAddProductInfo(t *testing.T) {
@@ -86,7 +86,7 @@ func TestQueryProductImagesByBarcode(t *testing.T) {
func TestQueryProductPages(t *testing.T) {
result, err := api.QueryProductPages(&PostBackParameter{
ParameterType: "LAST_RESULT_MAX_ID",
ParameterValue: "7064573",
ParameterValue: "13672479",
})
if err != nil {
t.Fatal(err)