-
Notifications
You must be signed in to change notification settings - Fork 1
/
navigate.go
54 lines (52 loc) · 1014 Bytes
/
navigate.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package tool
import "github.com/admpub/nging/v5/application/registry/navigate"
var TopNavigate = navigate.List{
&navigate.Item{
Display: true,
Name: `地区管理`,
Action: `area/index`,
},
&navigate.Item{
Display: false,
Name: `添加管理`,
Action: `area/add`,
},
&navigate.Item{
Display: false,
Name: `修改地区`,
Action: `area/edit`,
},
&navigate.Item{
Display: false,
Name: `删除地区`,
Action: `area/delete`,
},
&navigate.Item{
Display: true,
Name: `中文分词`,
Action: `segment`,
},
&navigate.Item{
Display: true,
Name: `敏感词`,
Action: `sensitive/index`,
},
&navigate.Item{
Display: false,
Name: `添加敏感词`,
Action: `sensitive/add`,
Icon: `pencil`,
},
&navigate.Item{
Display: false,
Name: `修改敏感词`,
Action: `sensitive/edit`,
Icon: `pencil`,
},
&navigate.Item{
Display: false,
Name: `删除敏感词`,
Action: `sensitive/delete`,
Icon: `remove`,
},
}