21 lines
435 B
Go
21 lines
435 B
Go
package consts
|
|
|
|
import (
|
|
"hotgo/internal/library/dict"
|
|
"hotgo/internal/model"
|
|
)
|
|
|
|
func init() {
|
|
dict.RegisterEnums("ImFilePolicySwitchOptions", "IM文件策略开关选项", ImFilePolicySwitchOptions)
|
|
}
|
|
|
|
const (
|
|
ImFilePolicySwitchOff = 0
|
|
ImFilePolicySwitchOn = 1
|
|
)
|
|
|
|
var ImFilePolicySwitchOptions = []*model.Option{
|
|
dict.GenWarningOption(ImFilePolicySwitchOff, "关闭"),
|
|
dict.GenSuccessOption(ImFilePolicySwitchOn, "开启"),
|
|
}
|