Commit cb30eb71 authored by wangjj's avatar wangjj

论坛品类日志 获取精华

parent 49c1905c
......@@ -11,4 +11,4 @@ use internalApi\bbs\Thread;
require __DIR__.'/_init.php';
Thread::setDebug(true);
print_r(Thread::getMaintenanceLogDigest());
\ No newline at end of file
print_r(Thread::getQuestionDigest());
\ No newline at end of file
......@@ -51,9 +51,9 @@ class Thread extends Client
* 获取未解决问题
* @return mixed
*/
public static function getUnResolveQuestionList($num = 1)
public static function getQuestionList($num=100)
{
return self::call('thread.getUnResolveQuestionList',compact('num'));
return self::call('thread.getQuestionList',compact('num'));
}
......@@ -73,4 +73,12 @@ class Thread extends Client
public static function getMaintenanceLogDigest($num = 1){
return self::call('thread.getMaintenanceLogDigest',compact('num'));
}
/**
* 获取问题互助精华3
* @return mixed
*/
public static function getQuestionDigest($num = 1){
return self::call('thread.getQuestionDigest',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