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" }