Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
cb30eb71
Commit
cb30eb71
authored
May 29, 2018
by
wangjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
论坛品类日志 获取精华
parent
49c1905c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
bbs_thread.php
example/bbs_thread.php
+1
-1
Thread.php
src/bbs/Thread.php
+10
-2
No files found.
example/bbs_thread.php
View file @
cb30eb71
...
@@ -11,4 +11,4 @@ use internalApi\bbs\Thread;
...
@@ -11,4 +11,4 @@ use internalApi\bbs\Thread;
require
__DIR__
.
'/_init.php'
;
require
__DIR__
.
'/_init.php'
;
Thread
::
setDebug
(
true
);
Thread
::
setDebug
(
true
);
print_r
(
Thread
::
getMaintenanceLogDigest
());
print_r
(
Thread
::
getQuestionDigest
());
\ No newline at end of file
\ No newline at end of file
src/bbs/Thread.php
View file @
cb30eb71
...
@@ -51,9 +51,9 @@ class Thread extends Client
...
@@ -51,9 +51,9 @@ class Thread extends Client
* 获取未解决问题
* 获取未解决问题
* @return mixed
* @return mixed
*/
*/
public
static
function
get
UnResolveQuestionList
(
$num
=
1
)
public
static
function
get
QuestionList
(
$num
=
100
)
{
{
return
self
::
call
(
'thread.get
UnResolve
QuestionList'
,
compact
(
'num'
));
return
self
::
call
(
'thread.getQuestionList'
,
compact
(
'num'
));
}
}
...
@@ -73,4 +73,12 @@ class Thread extends Client
...
@@ -73,4 +73,12 @@ class Thread extends Client
public
static
function
getMaintenanceLogDigest
(
$num
=
1
){
public
static
function
getMaintenanceLogDigest
(
$num
=
1
){
return
self
::
call
(
'thread.getMaintenanceLogDigest'
,
compact
(
'num'
));
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment