update 出货商添加online

This commit is contained in:
timerzz 2025-03-28 11:10:23 +08:00
parent 83e8af0c5f
commit 89a406d32f

View File

@ -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 销售商商品信息