This commit is contained in:
苏尹岚
2021-03-10 10:10:55 +08:00
parent 89d722c729
commit 493f2ba97b
5 changed files with 37 additions and 9 deletions

View File

@@ -50,6 +50,10 @@ func (a *APIManager) GetAPI(vendorID int, appOrgCode string) (pfAPI interface{})
JdStorePageCookie := configs[0].Value
api.JdAPI.SetJdCookie(JdStorePageCookie)
}
if configs, err := dao.QueryConfigs(dao.GetDB(), "jdStorePageEarning", model.ConfigTypeCookie, ""); err == nil {
jdStorePageEarning := configs[0].Value
api.JdAPI.SetCookie("user", jdStorePageEarning)
}
}
case model.VendorIDMTWM:
pfAPI = api.MtwmAPI