We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377501e commit 0ac3b20Copy full SHA for 0ac3b20
server/model/sys_api.go
@@ -9,5 +9,5 @@ type SysApi struct {
9
Path string `json:"path" gorm:"comment:api路径"` // api路径
10
Description string `json:"description" gorm:"comment:api中文描述"` // api中文描述
11
ApiGroup string `json:"apiGroup" gorm:"comment:api组"` // api组
12
- 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
13
}
0 commit comments