Commit 4e7509b6 by mushishixian

fix

parent 79b9133d
[web]
port = 20001
port = 10001
mode = release
cors_domain = bom.ichunt.com
cors_domain = https://bom.ichunt.com
[message]
api_domain = http://api.ichunt.com/msg/sendMessageByAuto
......
......@@ -310,8 +310,7 @@ func ShowSku(goods model.DullGoodsData) {
return
}
referer := middleware.Context.Request.Header.Get("referer")
//if strings.Contains(referer, "www.ichunt.com/s/?k") {
if strings.Contains(referer, "") {
if strings.Contains(referer, "www.ichunt.com/s/?k") {
if goods.ProviderName != "" {
goods.BrandName = goods.ProviderName
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment