Var.class.php
4.13 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?php
/**
* 管理后台 - 变量定义类
*
* 变量命名规则: 模块_描述
*
* @since 0.4
*/
class Config_Admin_Var
{
/**
* 后台-所有错误码提示
*
* @var array
*/
public static $errors = array(
// public
400 => '非法提交!',
403 => '请求不允许!',
404 => '页面不存在!',
405 => '传参有误!',
500 => '服务器正在维护中!',
// admin/default/login
1000 => '账号不合法!',
1001 => '密码不合法!',
1002 => '账号不存在!',
1003 => '密码不正确!',
// admin/system/checkrole
1010 => '角色名称已存在!',
1011 => '角色名称不能为空!',
// admin/system/checkuser
1020 => '用户已存在!',
1021 => '用户不能为空!',
// admin/recom
1031 => '请先选择推荐的标签!',
// admin/auditing/editfrag
1040 => '查找不到碎片信息!',
1041 => '碎片不存在!',
1042 => '修改失败,请稍候再试!',
1043 => '亲,你尚未修改任何内容!',
);
public static $success = array(
200=> '保存成功!',
201=> '添加成功!',
202=> '删除成功!',
203=> '审核通过!',
);
/**
* 会员审核模块-定义查询状态
* @var array
*/
public static $useraudit_search_state = array(
1 => '全部',
2 => '未审核',
3 => '正常'
);
/**
* 会员审核模块-定义查询类型
* @var array
*/
public static $useraudit_search_type = array(
1 => '用户ID',
2 => '昵称',
3 => '邮箱',
4 => '手机号'
);
/**
* 推荐模块-顶部显示的切换标签列表
*
* @var array
*/
public static $recom_tabs = array(
// 潮拍
1 => array(
'/admin/recom/waiting/channel/1/status/0' => array(
'待推荐' => array(
'/admin/recom/waiting/channel/1/status/0' => '待推荐',
'/admin/recom/waiting/channel/1/status/9' => '不推荐',
),
),
'/admin/recom/recommend/channel/1/type/3' => array(
'已推荐' => array(
'/admin/recom/recommend/channel/1/type/3' => '算法推荐',
'/admin/recom/recommend/channel/1/type/2' => '编辑推荐',
'/admin/recom/recommend/channel/1/type/1' => '特别推荐',
),
),
'/admin/recom/find/channel/1' => '查找',
),
// 市集
2 => array(
'/admin/recom/waiting/channel/2/status/0' => array(
'待推荐' => array(
'/admin/recom/waiting/channel/2/status/0' => '待推荐',
'/admin/recom/waiting/channel/2/status/9' => '不推荐',
),
),
'/admin/recom/recommend/channel/2/type/3' => array(
'已推荐' => array(
'/admin/recom/recommend/channel/2/type/3' => '算法推荐',
'/admin/recom/recommend/channel/2/type/2' => '编辑推荐',
'/admin/recom/recommend/channel/2/type/1' => '特别推荐',
),
),
'/admin/recom/find/channel/2' => '查找',
),
);
/**
* 推荐模块-定义推荐的查找条件
*
* @var array
*/
public static $recom_search = array(
1 => '按关键字',
2 => '按已推荐ID',
3 => '按工号',
4 => '按待推荐ID',
);
/**
* 推送通知-顶部显示的切换标签
*
* @var array
*/
public static $push_tabs = array(
'/admin/push/view/status/0' => '待推送',
'/admin/push/view/status/1' => '已推送',
);
/**
* 邀请函类型大分类
*/
public static $invitation_category = array(
'media' => '媒体',
'brand' => '品牌商',
'master' => '艺人红人'
);
/**
* 邀请函类型子分类
*/
public static $invitation_sub = array(
//媒体
1 => '电视',
2 => '平面',
3 => '网络',
//品牌商
4 => '品牌商',
5 => '代理商',
6 => '贸易商',
//艺人红人
7 => '艺人',
8 => '经纪公司',
9 => '红人',
);
}