update 出货商添加online
This commit is contained in:
parent
83e8af0c5f
commit
89a406d32f
@ -29,6 +29,8 @@ type Seller struct {
|
||||
Name string `json:"name"`
|
||||
// 供应商状态
|
||||
Status SellerStatus `json:"status"`
|
||||
// 是否在线
|
||||
Online bool `json:"online" gorm:"-"`
|
||||
// 错误信息
|
||||
Msg string `json:"msg"`
|
||||
// 拉取时间
|
||||
@ -42,7 +44,8 @@ type Seller struct {
|
||||
}
|
||||
|
||||
type SellerOption struct {
|
||||
Ticker string `yaml:"ticker" json:"ticker"` //定时抓取
|
||||
Ticker string `yaml:"ticker" json:"ticker"` //定时抓取
|
||||
NotCrawl bool `yaml:"notCrawl" json:"notCrawl"` //要不要抓取
|
||||
}
|
||||
|
||||
// SellerArticle 销售商商品信息
|
||||
|
Loading…
x
Reference in New Issue
Block a user