Commit 87b3e667 authored by wangjj's avatar wangjj

根据fid获取帖子

parent 44789233
...@@ -91,4 +91,16 @@ class Thread extends Client ...@@ -91,4 +91,16 @@ class Thread extends Client
{ {
return self::call('thread.getThreadDigest',compact('num')); return self::call('thread.getThreadDigest',compact('num'));
} }
/**
* 根据fid获取帖子
* @param int $fid
* @param int $page
* @param int $num
* @return mixed
*/
public static function getThread($fid,$page,$num)
{
return self::call('thread.getThread',compact('fid','page','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