From 32bb6e589e3ebe674331f3f0b3f674d2280e2b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 26 Mar 2020 14:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=B1=B9api=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/yinbaoapi/store_page.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platformapi/yinbaoapi/store_page.go b/platformapi/yinbaoapi/store_page.go index 4644d80d..d4f601b7 100644 --- a/platformapi/yinbaoapi/store_page.go +++ b/platformapi/yinbaoapi/store_page.go @@ -38,6 +38,11 @@ func (a *API) AccessStorePage(action string, bizParams map[string]interface{}) ( err = utils.NewErrorCode(jsonResult1["msg"].(string), "-1", 0) baseapi.SugarLogger.Debugf("yinbao AccessStorePageAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true)) } + } else { + errLevel = platformapi.ErrLevelGeneralFail + if strings.Contains(jsonResult1["fakeData"].(string), "登录") { + err = utils.NewErrorCode("银豹Cookie可能失效了!", "-1", 0) + } } retVal = jsonResult1 }