Skip to content

Commit e8beb15

Browse files
author
奇淼(piexlmax
authored
Merge pull request #563 from flipped-aurora/SliverHorn-patch-1
Update sys_api.go
2 parents 377501e + 0ac3b20 commit e8beb15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/sys_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ type SysApi struct {
99
Path string `json:"path" gorm:"comment:api路径"` // api路径
1010
Description string `json:"description" gorm:"comment:api中文描述"` // api中文描述
1111
ApiGroup string `json:"apiGroup" gorm:"comment:api组"` // api组
12-
Method string `json:"method" gorm:"default:POST" gorm:"comment:方法"` // 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
12+
Method string `json:"method" gorm:"default:POST;comment:方法"` // 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
1313
}

0 commit comments

Comments
 (0)