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
b62253c3
authored
Jul 03, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
9623f3c8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
model/ly.go
service/common_ly_service.go
model/ly.go
View file @
b62253c3
...
...
@@ -13,7 +13,7 @@ type LyClearGoodsList struct {
RestrictionMessage
string
`json:"RestrictionMessage"`
//额外购买限制内容,如 ‘当前商品不在本地区销售’
Increment
uint64
`json:"increment"`
//最小包装量、倍数
SinglePrice
float64
`json:"single_price"`
//最小单价
Tiered
[]
*
TierItem
//价格梯度数量
Tiered
[]
*
TierItem
//价格梯度数量
}
type
TierItem
struct
{
Purchases
uint64
//购买数量
...
...
@@ -154,5 +154,17 @@ Array
[spu_brief] =>
[update_time] => 1540893752
)
*/
\ No newline at end of file
*/
type
LySpuInfo
struct
{
ClassId1
string
`json:"class_id1"`
//一级分类
ClassId2
string
`json:"class_id2"`
//二级分类
ClassId3
string
`json:"class_id3"`
//三级分类
BrandId
string
`json:"brand_id"`
//品牌ID
SpuName
string
`json:"spu_name"`
//型号名称
Status
string
`json:"status"`
// 状态
ImagesL
string
`json:"images_l"`
//图片
Encap
string
`json:"encap"`
//封装
Pdf
string
`json:"pdf"`
//pdf
SpuBrief
string
`json:"spu_brief"`
//描述
UpdateTime
string
`json:"update_time"`
//更新时间
}
\ No newline at end of file
service/common_ly_service.go
View file @
b62253c3
This diff is collapsed.
Click to expand it.
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