🎉 初始化项目

This commit is contained in:
2026-03-03 06:05:51 +08:00
commit e1c70fe218
241 changed files with 148285 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package system
import (
"git.echol.cn/loser/ai_proxy/server/global"
)
// SysApi API管理
type SysApi struct {
global.GVA_MODEL
Path string `json:"path" gorm:"comment:API路径;size:255;not null"`
Description string `json:"description" gorm:"comment:API描述;size:500"`
ApiGroup string `json:"apiGroup" gorm:"comment:API分组;size:100"`
Method string `json:"method" gorm:"comment:请求方法;size:20;not null"` // GET/POST/PUT/DELETE
}
func (SysApi) TableName() string {
return "sys_apis"
}