aa
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user