Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
search_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4e7509b6
authored
Jul 28, 2020
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix
parent
79b9133d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
conf/config_prod.ini.demo
service/transformer/goods_transformer.go
conf/config_prod.ini.demo
View file @
4e7509b6
[web]
port =
2
0001
port =
1
0001
mode = release
cors_domain = bom.ichunt.com
cors_domain =
https://
bom.ichunt.com
[message]
api_domain = http://api.ichunt.com/msg/sendMessageByAuto
...
...
service/transformer/goods_transformer.go
View file @
4e7509b6
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment