Commit cf0e9eb5 by huangchengyi

1.0

parent 8326e502
Showing with 27 additions and 19 deletions
[supplier_all]
1 ="rochester"
2 ="verical"
3 ="tme"
[common]
'MOUSER_API'='http://footstone.liexin.net/webapi/handle_mouser'
\ No newline at end of file
...@@ -2,30 +2,30 @@ package model ...@@ -2,30 +2,30 @@ package model
//联营请求外链后格式化数据 //联营请求外链后格式化数据
type LyClearData struct { type LyClearData struct {
GoodsID string `json:"goods_id"` GoodsID string
GoodsName string `json:"goods_name"` GoodsName string
} }
//联营请求外链后格式化数据 //联营请求外链后格式化数据
type LyClearDataItem struct { type LyClearDataItem struct {
GoodsName string `json:"goods_name"` GoodsName string
GoodsNameTemp string `json:"goods_name_temp"` GoodsNameTemp string
BrandName string `json:"brand_name"` BrandName string
Desc string `json:"desc"` Desc string
GoodsSn string `json:"goods_sn"` GoodsSn string
Docurl string `json:"docurl"` Docurl string
Url string `json:"url"` Url string
GoodsImg string `json:"goods_img"` GoodsImg string
Cat string `json:"cat"` Cat string
RestrictionMessage string `json:"RestrictionMessage"` RestrictionMessage string
increment int `json:"increment"` increment int
SinglePrice float64 `json:"single_price"` SinglePrice float64
PriceTemp []PriceTempItem `json:"price_temp"` PriceTemp []PriceTempItem
} }
type PriceTempItem struct { type PriceTempItem struct {
Purchases int `json:"purchases"` Purchases int
PriceUs float64 `json:"price_us"` PriceUs float64
PriceCn float64 `json:"price_cn"` PriceCn float64
PriceAc float64 `json:"price_ac"` PriceAc float64
} }
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