Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
newShopBack
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
newshop
newShopBack
Commits
c17137b2
Commit
c17137b2
authored
Dec 02, 2019
by
郭勇志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限管理
parent
9c2b3582
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
constants.php
backend/config/constants.php
+3
-0
No files found.
backend/config/constants.php
View file @
c17137b2
...
...
@@ -7,3 +7,6 @@ defined('ADMIN_ACTIVE_STATUS') or define('ADMIN_ACTIVE_STATUS', '1');//管理员
defined
(
'UPLOAD_FILE_PATH'
)
or
define
(
'UPLOAD_FILE_PATH'
,
dirname
(
__FILE__
)
.
'../../../uploadtempfiles/'
);
//上传文件路径
defined
(
'TEMPLATE_FILE_PATH'
)
or
define
(
'TEMPLATE_FILE_PATH'
,
dirname
(
__FILE__
)
.
'../../../template/'
);
//模板文件路径
defined
(
'PAGE_SIZE'
)
or
define
(
'PAGE_SIZE'
,
10
);
//分页,默认每页提供数据条数
defined
(
'USER_ROLE_HEADQUARTERS_ADMIN'
)
or
define
(
'USER_ROLE_HEADQUARTERS_ADMIN'
,
1
);
//总部权限管理员1
defined
(
'USER_ROLE_REGION_ADMIN'
)
or
define
(
'USER_ROLE_REGION_ADMIN'
,
2
);
//分部管理员权限2
defined
(
'USER_ROLE_STORE_ADMIN'
)
or
define
(
'USER_ROLE_STORE_ADMIN'
,
3
);
//分部管理员权限3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment