Browse Source

Merge pull request #563 from flipped-aurora/SliverHorn-patch-1

Update sys_api.go
main
奇淼(piexlmax 3 years ago
committed by GitHub
parent
commit
4f05d2b9d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      server/model/sys_api.go

2
server/model/sys_api.go

@ -9,5 +9,5 @@ type SysApi struct {
Path string `json:"path" gorm:"comment:api路径"` // api路径
Description string `json:"description" gorm:"comment:api中文描述"` // api中文描述
ApiGroup string `json:"apiGroup" gorm:"comment:api组"` // api组
Method string `json:"method" gorm:"default:POST" gorm:"comment:方法"` // 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
Method string `json:"method" gorm:"default:POST;comment:方法"` // 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
}
Loading…
Cancel
Save