门店电话修改

This commit is contained in:
苏尹岚
2020-05-19 10:15:47 +08:00
parent 73dce66195
commit 4b5191fa62
5 changed files with 23 additions and 75 deletions

View File

@@ -294,6 +294,7 @@ func Init() {
}
if configs, err := dao.QueryConfigs(dao.GetDB(), "jdsCookie", model.ConfigTypeCookie, ""); err == nil {
jdsCookie = configs[0].Value
api.JdShopAPI.SetCookieWithStr(jdsCookie)
}
if configs, err := dao.QueryConfigs(dao.GetDB(), "yinbaoCookie", model.ConfigTypeCookie, ""); err == nil {
yinbaoCookie := configs[0].Value
@@ -315,7 +316,6 @@ func Init() {
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName, JdStorePageCookie)
api.JdPageAPI.SetCookie(jdapi.AccessStorePageCookieName2, JdStorePageCookie)
api.FeieAPI.SetCookieWithStr(feiePageCookie)
api.JdShopAPI.SetCookieWithStr(jdsCookie)
}
func syncStoreSku() {