Commit 254ac4b3 authored by ring0531's avatar ring0531

增加根据服务星的id,来查询服务星信息的接口

parent 09c3c13b
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 11/09/2017
* Time: 11:54 AM
*/
use internalApi\ucenter\Member;
require __DIR__.'/_init.php';
Member::setDebug(true);
$data = Member::getVipByWxhuid('dccc5b52016510003f78525400781c54');
//$data = User::canAddGoldCoin(13739230723);
print_r($data);
\ No newline at end of file
...@@ -157,4 +157,16 @@ class Member extends Client ...@@ -157,4 +157,16 @@ class Member extends Client
return self::call('member.isVipComplete', compact('uid')); return self::call('member.isVipComplete', compact('uid'));
} }
/**
* 根据服务星的id,来查询服务星信息
* @param $wxhuid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function getVipByWxhuid($wxhuid)
{
return self::call('member.getVipByWxhuid', compact('wxhuid'));
}
} }
\ 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