Files
PandaX/system/entity/api.go
feilong.teng@rheinchina.com cd824b7f0c 集成完成
2021-12-12 19:49:39 +08:00

12 lines
506 B
Go

package entity
import "pandax/base/model"
type SysApi struct {
model.BaseAutoModel
Path string `json:"path" gorm:"comment:api路径" binding:"required"` // api路径
Description string `json:"description" gorm:"comment:api中文描述"` // api中文描述
ApiGroup string `json:"apiGroup" gorm:"comment:api组"` // api组
Method string `json:"method" gorm:"comment:方法"` // 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
}