Commit e32a9a68 authored by 杨培's avatar 杨培

添加设置为服务星邀请人的接口

parent 5a5af81d
......@@ -10,4 +10,9 @@ use internalApi\ucenter\Vip;
require __DIR__.'/_init.php';
Vip::addPending(12, 123, 1);
\ No newline at end of file
Vip::setDebug();
$ret = Vip::getGrades();
$ret = Vip::setInviter('844184b4016810002cde5254007c97eb', '0e150e59016910003f4c525400781c54');
print_r($ret);
//Vip::addPending(12, 123, 1);
\ No newline at end of file
......@@ -46,4 +46,9 @@ class Vip extends Client
return self::call('vip.addPending', compact('uid', 'performance', 'type', 'byWxhUid'));
}
public static function setInviter($uid, $inviteUid)
{
return self::call('vip.setInviter', compact('uid', 'inviteUid'));
}
}
\ 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