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
87b3e667
Commit
87b3e667
authored
Jun 06, 2018
by
wangjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据fid获取帖子
parent
44789233
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
Thread.php
src/bbs/Thread.php
+12
-0
No files found.
src/bbs/Thread.php
View file @
87b3e667
...
@@ -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
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