api 增加 GET PUT DELETE POST 四种可选声明方式
This commit is contained in:
@@ -13,6 +13,7 @@ type SysApi struct {
|
||||
Path string `json:"path"`
|
||||
Description string `json:"description"`
|
||||
Group string `json:"group"`
|
||||
Method string `json:"method" gorm:"default:'POST'"`
|
||||
}
|
||||
|
||||
func (a *SysApi) CreateApi() (err error) {
|
||||
|
Reference in New Issue
Block a user