Files
PandaX/apps/system/entity/api.go
2022-08-02 22:37:37 +08:00

12 lines
520 B
Go

package entity
import "github.com/XM-GO/PandaKit/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
}