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
5e7400d5
Commit
5e7400d5
authored
Mar 26, 2018
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加获取某个用户的关注总数
parent
c1179627
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Follow.php
src/ucenter/Follow.php
+13
-0
No files found.
src/ucenter/Follow.php
View file @
5e7400d5
...
@@ -61,4 +61,17 @@ class Follow extends Client
...
@@ -61,4 +61,17 @@ class Follow extends Client
{
{
return
self
::
call
(
'follow.getFollowUser'
,
compact
(
'userId'
));
return
self
::
call
(
'follow.getFollowUser'
,
compact
(
'userId'
));
}
}
/**
* 获取关注数量
* @param $userId
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
countByUserId
(
$userId
)
{
return
self
::
call
(
'follow.countByUserId'
,
compact
(
'userId'
));
}
}
}
\ 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