Commit 6df7958d authored by 杨培's avatar 杨培

增加获取学院用户是否有管理权限的接口

parent 6e54fdaf
<?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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment