Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
0a443475
Commit
0a443475
authored
Nov 30, 2019
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
a63d3cae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
xgg-admin/app/base/controller/impl/uc/orgCtl.js
+2
-0
xgg-admin/app/base/controller/impl/uc/roleCtl.js
+1
-0
No files found.
xgg-admin/app/base/controller/impl/uc/orgCtl.js
View file @
0a443475
...
...
@@ -12,6 +12,7 @@ class OrgCtl extends CtlBase {
*/
async
addOrg
(
params
)
{
try
{
params
.
saas_id
=
req
.
loginUser
.
saas_id
;
return
await
this
.
orgSve
.
addOrg
(
params
);
}
catch
(
error
)
{
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
...
...
@@ -47,6 +48,7 @@ class OrgCtl extends CtlBase {
*/
async
listOrg
(
params
)
{
try
{
params
.
saas_id
=
req
.
loginUser
.
saas_id
;
return
await
this
.
orgSve
.
listOrg
(
params
);
}
catch
(
error
)
{
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
...
...
xgg-admin/app/base/controller/impl/uc/roleCtl.js
View file @
0a443475
...
...
@@ -12,6 +12,7 @@ class RoleCtl extends CtlBase {
*/
async
addRole
(
params
)
{
try
{
params
.
saas_id
=
req
.
loginUser
.
saas_id
;
return
await
this
.
roleSve
.
addRole
(
params
);
}
catch
(
error
)
{
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
...
...
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