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
83c6604c
Commit
83c6604c
authored
Jun 28, 2017
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释完善
parent
e13dd1e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
Comment.php
src/xue/Comment.php
+17
-0
No files found.
src/xue/Comment.php
View file @
83c6604c
...
@@ -10,14 +10,31 @@ namespace internalApi\xue;
...
@@ -10,14 +10,31 @@ namespace internalApi\xue;
use
internalApi\base\Client
;
use
internalApi\base\Client
;
/**
* 学院评论API
*
* @package internalApi\xue
*/
class
Comment
extends
Client
class
Comment
extends
Client
{
{
/**
* 获取学院赞我的评论数量
*
* @param int $uid
* @return int
*/
public
static
function
getLikeMsgCount
(
$uid
)
public
static
function
getLikeMsgCount
(
$uid
)
{
{
return
self
::
call
(
'comment.getLikeMsgCount'
,
compact
(
'uid'
));
return
self
::
call
(
'comment.getLikeMsgCount'
,
compact
(
'uid'
));
}
}
/**
* 获取学院回复我的评论数量
*
* @param int $uid
* @return int
*/
public
static
function
getReplyMsgCount
(
$uid
)
public
static
function
getReplyMsgCount
(
$uid
)
{
{
return
self
::
call
(
'comment.getReplyMsgCount'
,
compact
(
'uid'
));
return
self
::
call
(
'comment.getReplyMsgCount'
,
compact
(
'uid'
));
...
...
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