aa
This commit is contained in:
@@ -133,7 +133,7 @@ var (
|
|||||||
yinbaoCookie string
|
yinbaoCookie string
|
||||||
feiePageCookie string
|
feiePageCookie string
|
||||||
jdStorePageEarning string
|
jdStorePageEarning string
|
||||||
jdsCookie string
|
//jdsCookie string
|
||||||
// jdsCookie2 string
|
// jdsCookie2 string
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -367,10 +367,10 @@ func Init() {
|
|||||||
if configs, err := dao.QueryConfigs(dao.GetDB(), "feiePageCookie", model.ConfigTypeCookie, ""); err == nil {
|
if configs, err := dao.QueryConfigs(dao.GetDB(), "feiePageCookie", model.ConfigTypeCookie, ""); err == nil {
|
||||||
feiePageCookie = configs[0].Value
|
feiePageCookie = configs[0].Value
|
||||||
}
|
}
|
||||||
if configs, err := dao.QueryConfigs(dao.GetDB(), "jdsCookie", model.ConfigTypeCookie, ""); err == nil {
|
//if configs, err := dao.QueryConfigs(dao.GetDB(), "jdsCookie", model.ConfigTypeCookie, ""); err == nil {
|
||||||
jdsCookie = configs[0].Value
|
// jdsCookie = configs[0].Value
|
||||||
api.JdShopAPI.SetCookieWithStr(jdsCookie)
|
// api.JdShopAPI.SetCookieWithStr(jdsCookie)
|
||||||
}
|
//}
|
||||||
//if configs, err := dao.QueryConfigs(dao.GetDB(), "yinbaoCookie", model.ConfigTypeCookie, ""); err == nil {
|
//if configs, err := dao.QueryConfigs(dao.GetDB(), "yinbaoCookie", model.ConfigTypeCookie, ""); err == nil {
|
||||||
// yinbaoCookie := configs[0].Value
|
// yinbaoCookie := configs[0].Value
|
||||||
// api.YinBaoAPI.SetCookie(".POSPALAUTH30220", yinbaoCookie)
|
// api.YinBaoAPI.SetCookie(".POSPALAUTH30220", yinbaoCookie)
|
||||||
|
|||||||
Reference in New Issue
Block a user