ADD provider添加online字段用于判断是否在线
This commit is contained in:
parent
0f2c2d5913
commit
83e8af0c5f
@ -28,6 +28,8 @@ type Provider struct {
|
||||
Name string `json:"name"`
|
||||
// 供应商状态
|
||||
Status ProviderStatus `json:"status"`
|
||||
// 是否在线
|
||||
Online bool `json:"online" gorm:"-"`
|
||||
// 错误信息
|
||||
Msg string `json:"msg"`
|
||||
// 拉取时间
|
||||
@ -79,8 +81,6 @@ type ProviderArticle struct {
|
||||
Watch *bool `json:"watch"`
|
||||
// 状态
|
||||
Status ProviderStatus `json:"status"`
|
||||
// 是否在线
|
||||
Online bool `json:"online" gorm:"-"`
|
||||
// 是否排除,如果排除,就不用拉取价格
|
||||
Exclude bool `json:"exclude"`
|
||||
// 历史成本价格
|
||||
|
Loading…
x
Reference in New Issue
Block a user