feat: add IM file policy and org exports
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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, "开启"),
|
||||
}
|
||||
Reference in New Issue
Block a user