mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-11 20:43:44 +08:00
优化菜单、省市区树结构排序,修复部门搜索空指针问题
This commit is contained in:
@@ -169,3 +169,12 @@ type ProvincesCityLabelInp struct {
|
||||
}
|
||||
|
||||
type ProvincesCityLabelModel string
|
||||
|
||||
// ProvincesTree 树
|
||||
type ProvincesTree struct {
|
||||
entity.SysProvinces
|
||||
Key int64 `json:"key" dc:"key"`
|
||||
Label string `json:"label" dc:"标签"`
|
||||
Value int64 `json:"value" dc:"键值"`
|
||||
Children []*ProvincesTree `json:"children"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user