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
111f4d15
Commit
111f4d15
authored
Dec 06, 2019
by
孙磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
Signed-off-by:
sunlei
<
sunlei@romens.cn
>
parent
5beca137
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ShopRbacRole.php
backend/models/v1/rbacuser/ShopRbacRole.php
+6
-0
No files found.
backend/models/v1/rbacuser/ShopRbacRole.php
View file @
111f4d15
...
@@ -19,6 +19,8 @@ use yii\data\ActiveDataProvider;
...
@@ -19,6 +19,8 @@ use yii\data\ActiveDataProvider;
* @property int $STATUS 状态,1:启用
* @property int $STATUS 状态,1:启用
* @property string $REMARK 备注
* @property string $REMARK 备注
* @property int $SORT 排序
* @property int $SORT 排序
* @property string $UPDATE_TIME 修改时间
* @property string $UPDATE_USER_CODE 修改人账号
*/
*/
class
ShopRbacRole
extends
BaseModel
class
ShopRbacRole
extends
BaseModel
{
{
...
@@ -42,6 +44,8 @@ class ShopRbacRole extends BaseModel
...
@@ -42,6 +44,8 @@ class ShopRbacRole extends BaseModel
[[
'NAME'
],
'string'
,
'max'
=>
30
],
[[
'NAME'
],
'string'
,
'max'
=>
30
],
[[
'PID'
],
'string'
,
'max'
=>
6
],
[[
'PID'
],
'string'
,
'max'
=>
6
],
[[
'REMARK'
],
'string'
,
'max'
=>
255
],
[[
'REMARK'
],
'string'
,
'max'
=>
255
],
[[
'UPDATE_TIME'
],
'safe'
],
[[
'UPDATE_USER_CODE'
],
'string'
]
];
];
}
}
...
@@ -59,6 +63,8 @@ class ShopRbacRole extends BaseModel
...
@@ -59,6 +63,8 @@ class ShopRbacRole extends BaseModel
'STATUS'
=>
'Status'
,
'STATUS'
=>
'Status'
,
'REMARK'
=>
'Remark'
,
'REMARK'
=>
'Remark'
,
'SORT'
=>
'Sort'
,
'SORT'
=>
'Sort'
,
'UPDATE_TIME'
=>
'Update Time'
,
'UPDATE_USER_CODE'
=>
'Update User Code'
,
];
];
}
}
//获取角色列表
//获取角色列表
...
...
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