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
cf0e9eb5
authored
Jul 01, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
8326e502
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
19 deletions
conf/search.ini
model/ly.go
conf/search.ini
0 → 100644
View file @
cf0e9eb5
[supplier_all]
1
=
"rochester"
2
=
"verical"
3
=
"tme"
[common]
'MOUSER_API'='http://footstone.liexin.net/webapi/handle_mouser'
\ No newline at end of file
model/ly.go
View file @
cf0e9eb5
...
...
@@ -2,30 +2,30 @@ package model
//联营请求外链后格式化数据
type
LyClearData
struct
{
GoodsID
string
`json:"goods_id"`
GoodsName
string
`json:"goods_name"`
GoodsID
string
GoodsName
string
}
//联营请求外链后格式化数据
type
LyClearDataItem
struct
{
GoodsName
string
`json:"goods_name"`
GoodsNameTemp
string
`json:"goods_name_temp"`
BrandName
string
`json:"brand_name"`
Desc
string
`json:"desc"`
GoodsSn
string
`json:"goods_sn"`
Docurl
string
`json:"docurl"`
Url
string
`json:"url"`
GoodsImg
string
`json:"goods_img"`
Cat
string
`json:"cat"`
RestrictionMessage
string
`json:"RestrictionMessage"`
increment
int
`json:"increment"`
SinglePrice
float64
`json:"single_price"`
PriceTemp
[]
PriceTempItem
`json:"price_temp"`
GoodsName
string
GoodsNameTemp
string
BrandName
string
Desc
string
GoodsSn
string
Docurl
string
Url
string
GoodsImg
string
Cat
string
RestrictionMessage
string
increment
int
SinglePrice
float64
PriceTemp
[]
PriceTempItem
}
type
PriceTempItem
struct
{
Purchases
int
`json:"purchases"`
PriceUs
float64
`json:"price_us"`
PriceCn
float64
`json:"price_cn"`
PriceAc
float64
`json:"price_ac"`
Purchases
int
PriceUs
float64
PriceCn
float64
PriceAc
float64
}
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