mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 20:40:25 +08:00
套餐增加文件最大上传尺寸设置
This commit is contained in:
@@ -4,12 +4,14 @@ package serverconfigs
|
||||
|
||||
import "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/shared"
|
||||
|
||||
// PlanConfig 套餐配置
|
||||
type PlanConfig struct {
|
||||
Id int64 `yaml:"id" json:"id"`
|
||||
Name string `yaml:"name" json:"name"`
|
||||
|
||||
TrafficLimit *TrafficLimitConfig `yaml:"trafficLimit" json:"trafficLimit"`
|
||||
BandwidthLimitPerNode *shared.BitSizeCapacity `yaml:"bandwidthLimitPerNode" json:"bandwidthLimitPerNode"`
|
||||
MaxUploadSize *shared.SizeCapacity `yaml:"maxUploadSize" json:"maxUploadSize"`
|
||||
}
|
||||
|
||||
func (this *PlanConfig) Init() error {
|
||||
|
||||
Reference in New Issue
Block a user