Commit 129fe3d2 by mushishixian

Merge branch 'ysx-search-20200724' into dev

parents b3fc7b50 4e7509b6
[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