This commit is contained in:
suyl
2021-04-25 18:01:01 +08:00
parent 5df74dc1fe
commit e8df294631

View File

@@ -124,7 +124,7 @@ func (a *API) AccessStorePage(fullURL string, bizParams map[string]interface{},
if jsonResult1 == nil { if jsonResult1 == nil {
return platformapi.ErrLevelRecoverableErr, fmt.Errorf("mapData is nil") return platformapi.ErrLevelRecoverableErr, fmt.Errorf("mapData is nil")
} }
if strings.Contains(bodyStr, "登录") || strings.Contains(bodyStr, "访问的内容") { if strings.Contains(bodyStr, "阿里妈妈") || strings.Contains(bodyStr, "联系客服") {
return platformapi.ErrLevelRecoverableErr, fmt.Errorf("cookie可能过期了") return platformapi.ErrLevelRecoverableErr, fmt.Errorf("cookie可能过期了")
} }
if err == nil { if err == nil {