first commit

This commit is contained in:
Yangtao
2025-11-18 17:48:20 +08:00
commit 6e56cab848
196 changed files with 65809 additions and 0 deletions

15
pkg/constant/sys_vars.go Normal file
View File

@ -0,0 +1,15 @@
package constant
// 资源类型
type ResourceTypeEnum int
const (
Image ResourceTypeEnum = iota // = 0
Video // = 1
Audio
)
func (actionType ResourceTypeEnum) String() string {
names := []string{"图片", "视频", "音频"}
return names[actionType]
}