forked from caibojian/cjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
25 lines (22 loc) · 946 Bytes
/
settings.js
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
/**
*Created by cbj on 2017/1/4.
*系统配置项
**/
module.exports = {
//mongodb数据库配置
URL: 'mongodb://172.16.11.9:27017/cjs',
DB: 'cjs',
HOST: '',
PORT: 27017,
USERNAME: '',
PASSWOED: '',
SYSTEMMANAGE : ['sysTemManage','cjs后台管理'], // 后台模块(系统管理)
adminUsersList : ['sysTemManage_user','系统用户管理'],
adminGroupList : ['sysTemManage_uGroup','系统用户组管理'],
adminLoging : ['sysTemManage_loging','实时日志'],
system_noPower : '用户没有权限',
system_Power : "[\"sysTemManage:true\", \"sysTemManage_user:true\", \"sysTemManage_user_add:true\", "+
"\"sysTemManage_user_view:true\", \"sysTemManage_user_modify:true\", \"sysTemManage_user_del:true\", "+
"\"sysTemManage_uGroup:true\", \"sysTemManage_uGroup_add:true\", \"sysTemManage_uGroup_view:true\", "+
"\"sysTemManage_uGroup_modify:true\", \"sysTemManage_uGroup_del:true\"]"
};