项目目录优化,任务模块后端代码

This commit is contained in:
PandaGoAdmin
2021-12-23 17:23:27 +08:00
parent 0caf81660c
commit 21ff92a93c
67 changed files with 802 additions and 206 deletions

11
apps/system/entity/api.go Normal file
View File

@@ -0,0 +1,11 @@
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
}