You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
516 B

3 years ago
3 years ago
  1. package system
  2. import (
  3. "github.com/flipped-aurora/gin-vue-admin/server/global"
  4. )
  5. type SysApi struct {
  6. global.GVA_MODEL
  7. Path string `json:"path" gorm:"comment:api路径"` // api路径
  8. Description string `json:"description" gorm:"comment:api中文描述"` // api中文描述
  9. ApiGroup string `json:"apiGroup" gorm:"comment:api组"` // api组
  10. Method string `json:"method" gorm:"default:POST;comment:方法"` // 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
  11. }