Commit 50a7dfd4 authored by 谈海涛's avatar 谈海涛

添加根据帖子ID串获取用户是否回答的方法

parent 55ac62b3
...@@ -104,4 +104,15 @@ class Thread extends Client ...@@ -104,4 +104,15 @@ class Thread extends Client
{ {
return self::call('thread.getDigest',compact('num')); return self::call('thread.getDigest',compact('num'));
} }
/**
* 根据帖子ID串获取用户是否回答
* @param array $threadArr
* @param int $userId
* @return array
*/
public static function IsAnswerByThreadIds($threadArr, $userId)
{
return self::call('thread.IsAnswerByThreadIds', compact('threadArr', 'userId'));
}
} }
\ 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