1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package dbapi
|
| type Result struct {
| Code int `json:"code"`
| Data interface{} `json:"data"`
| Msg string `json:"msg"`
| Success bool `json:"success"`
| }
|
| type TreeMenu struct {
| Id string `json:"id" `
| Type string `json:"type"`
| Name string `json:"name"`
| Treenodes []TreeMenu `json:"children"`
| }
|
| type TreeNode struct {
| Id int
| Name string
| Parentid int
| }
|
|