Commit d4bd064d authored by wangjj's avatar wangjj

获取加精帖子内容

parent b77427d1
......@@ -11,4 +11,4 @@ use internalApi\bbs\Thread;
require __DIR__.'/_init.php';
Thread::setDebug(true);
print_r(Thread::getBlockThread(32));
\ No newline at end of file
print_r(Thread::getDigest(2));
\ No newline at end of file
......@@ -113,4 +113,14 @@ class Thread extends Client
{
return self::call('thread.getBlockThread',compact('bid'));
}
/**
* 获取加精帖子
* @param $num
* @return mixed
*/
public static function getDigest($num)
{
return self::call('thread.getDigest',compact('num'));
}
}
\ 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