mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 10:13:01 +00:00
refactor🎨:调整接口和行政区结构体
This commit is contained in:
@@ -5,8 +5,8 @@ type SysApi struct {
|
||||
Handle string `json:"handle" gorm:"size:128;comment:handle"`
|
||||
Title string `json:"title" gorm:"size:128;comment:标题"`
|
||||
Path string `json:"path" gorm:"size:128;comment:地址"`
|
||||
Action string `json:"action" gorm:"size:16;comment:请求类型"`
|
||||
Type string `json:"type" gorm:"size:16;comment:接口类型"`
|
||||
Action string `json:"action" gorm:"size:16;comment:请求类型"`
|
||||
ModelTime
|
||||
ControlBy
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ package models
|
||||
|
||||
type SysChinaAreaData struct {
|
||||
Id int `json:"id" gorm:"primaryKey;comment:主键编码"`
|
||||
PId int `json:"p_id" gorm:"size:11;comment:上级编码"`
|
||||
PId int `json:"pId" gorm:"size:11;comment:上级编码"`
|
||||
Name string `json:"name" gorm:"size:128;comment:名称"`
|
||||
ControlBy
|
||||
ModelTime
|
||||
|
||||
Reference in New Issue
Block a user