Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
6df7958d
Commit
6df7958d
authored
Jun 30, 2017
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加获取学院用户是否有管理权限的接口
parent
6e54fdaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
User.php
src/xue/User.php
+32
-0
No files found.
src/xue/User.php
0 → 100644
View file @
6df7958d
<?php
/**
* Created by PhpStorm.
* User: pader
* Date: 2017/6/30
* Time: 18:18
*/
namespace
internalApi\xue
;
use
internalApi\base\Client
;
/**
* 扳手学院用户服务
*
* @package internalApi\xue
*/
class
User
extends
Client
{
/**
* 获取用户是否有管理权限
*
* @param int $uid
* @return bool
*/
public
static
function
hasAdminPermission
(
$uid
)
{
return
self
::
call
(
'user.hasAdminPermission'
,
compact
(
'uid'
));
}
}
\ No newline at end of file
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