-
Notifications
You must be signed in to change notification settings - Fork 1
/
navigate.go
60 lines (58 loc) · 1.08 KB
/
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
55
56
57
58
59
60
package advert
import "github.com/admpub/nging/v5/application/registry/navigate"
var LeftNavigate = &navigate.Item{
Display: true,
Name: `广告管理`,
Action: `official/advert`,
Icon: `file-text-o`,
Children: &navigate.List{
///==========================item
{
Display: true,
Name: `广告管理`,
Action: `index`,
},
{
Display: false,
Name: `添加广告`,
Action: `add`,
Icon: `plus`,
},
{
Display: false,
Name: `修改广告`,
Action: `edit`,
Icon: `pencil`,
},
{
Display: false,
Name: `删除广告`,
Action: `delete`,
Icon: `remove`,
},
///==========================position
{
Display: true,
Name: `广告位管理`,
Action: `position_index`,
},
{
Display: false,
Name: `添加广告位`,
Action: `position_add`,
Icon: `plus`,
},
{
Display: false,
Name: `修改广告位`,
Action: `position_edit`,
Icon: `pencil`,
},
{
Display: false,
Name: `删除广告位`,
Action: `position_delete`,
Icon: `remove`,
},
},
}