Commit 5708e46d authored by wangjj's avatar wangjj

添加用户是否可以添加接口

parent dc5f2212
......@@ -11,6 +11,5 @@ use internalApi\bbs\User;
require __DIR__.'/_init.php';
User::setDebug(true);
$uid = 42;
$data = User::getMonthSignList(582);
$data = User::canAddGoldCoin(13739230723);
print_r($data);
\ No newline at end of file
......@@ -57,4 +57,13 @@ class User extends Client
return self::call('user.getMonthSignList',compact('userId'));
}
/**
* 当天是否能够添加金币
* @param int $telephone
* @return mixed
*/
public static function canAddGoldCoin($telephone)
{
return self::call('user.canAddGoldCoin', compact('telephone'));
}
}
\ 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