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
367 B
13 lines
367 B
package model
|
|
|
|
import (
|
|
"github.com/jinzhu/gorm"
|
|
)
|
|
|
|
type SysApi struct {
|
|
gorm.Model
|
|
Path string `json:"path" gorm:"comment:'api路径'"`
|
|
Description string `json:"description" gorm:"comment:'api中文描述'"`
|
|
ApiGroup string `json:"apiGroup" gorm:"comment:'api组'"`
|
|
Method string `json:"method" gorm:"default:'POST'" gorm:"comment:'方法'"`
|
|
}
|