package request type SystemMenuReq struct { MenuName string `json:"menu_name" vd:"len($)>0;msg:'请输入菜单名称'"` Level int `json:"level"` Sort int `json:"sort"` MenuType int `json:"menu_type"` DictGroupId string `json:"dict_group_id"` State int `json:"state"` MenuUrl string `json:"menu_url"` MenuLogo string `json:"menu_logo"` PMenuId string `json:"p_menu_id"` Source string `json:"source"` NewWindow int `json:"new_window"` Remark string `json:"remark"` SystemType string `json:"system_type"` //系统类型 } // 组织排序参数 type MenuSortInput struct { Id int64 `json:"id" xorm:"pk autoincr"` //id Sort int `json:"sort"` //排序 }