fix: полный продакшен-фикс dashboard/peer/hysteria по fix35
This commit is contained in:
@@ -5,7 +5,6 @@ type TrafficAggregateDaily struct {
|
||||
DayStart *int64 `gorm:"column:day_start;default:0;primaryKey" json:"dayStart"`
|
||||
RxBytes *int64 `gorm:"column:rx_bytes;default:0" json:"rxBytes"`
|
||||
TxBytes *int64 `gorm:"column:tx_bytes;default:0" json:"txBytes"`
|
||||
BaseEntity `gorm:"embedded"`
|
||||
}
|
||||
|
||||
func (TrafficAggregateDaily) TableName() string {
|
||||
|
||||
@@ -5,7 +5,6 @@ type TrafficAggregateHourly struct {
|
||||
HourStart *int64 `gorm:"column:hour_start;default:0;primaryKey" json:"hourStart"`
|
||||
RxBytes *int64 `gorm:"column:rx_bytes;default:0" json:"rxBytes"`
|
||||
TxBytes *int64 `gorm:"column:tx_bytes;default:0" json:"txBytes"`
|
||||
BaseEntity `gorm:"embedded"`
|
||||
}
|
||||
|
||||
func (TrafficAggregateHourly) TableName() string {
|
||||
|
||||
@@ -25,5 +25,5 @@ type PeerPageVo struct {
|
||||
|
||||
type PeerClientConfigVo struct {
|
||||
Url string `json:"url"`
|
||||
QrCode []byte `json:"qrCode"`
|
||||
QrCode []byte `json:"qrCode,omitempty"` // deprecated: frontend renders SVG QR from Url
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user