Commit 4e33059a authored by wangjj's avatar wangjj

Merge remote-tracking branch 'origin/master'

parents 4e797991 9cad81b4
......@@ -11,5 +11,8 @@ use internalApi\bbs\User;
require __DIR__.'/_init.php';
User::setDebug(true);
$data = User::canAddGoldCoin(13739230723);
$data = User::getMemberCount(12);
//$data = User::canAddGoldCoin(13739230723);
print_r($data);
\ No newline at end of file
......@@ -56,4 +56,18 @@ class User extends Client
{
return self::call('user.getMonthSignList',compact('userId'));
}
/**
* 获取指定用户的统计数据
*
* @param int $uid
* @return array
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function getMemberCount($uid)
{
return self::call('user.getMemberCount', 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