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
e0c0ffd2
Commit
e0c0ffd2
authored
Sep 29, 2018
by
wangjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
潜在有效团员数据
parent
0a248ae0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
ucenter_group.php
example/ucenter_group.php
+18
-0
Group.php
src/ucenter/Group.php
+36
-0
No files found.
example/ucenter_group.php
0 → 100644
View file @
e0c0ffd2
<?php
/**
* Created by PhpStorm.
* User: pader
* Date: 2017/6/28
* Time: 10:23
*/
use
internalApi\ucenter\Group
;
require
__DIR__
.
'/_init.php'
;
Group
::
setDebug
();
//$info = Group::getPotentialGroupMemberList('worker-71318');
$info
=
Group
::
getPotentialGroupMemberCount
(
'worker-71318'
);
print_r
(
$info
);
src/ucenter/Group.php
0 → 100644
View file @
e0c0ffd2
<?php
/**
* Created by PhpStorm.
* User: QQ
* Date: 2018/9/29
* Time: 15:25
*/
namespace
internalApi\ucenter
;
use
internalApi\base\Client
;
class
Group
extends
Client
{
/**
* 获取有效潜在团员团员
* @param string $uid
* @param int $page
* @param int $num
* @return mixed
*/
public
static
function
getPotentialGroupMemberList
(
$uid
,
$page
=
1
,
$num
=
20
)
{
return
self
::
call
(
'groupMembers.getPotentialGroupMemberList'
,
compact
(
'uid'
,
'page'
,
'num'
));
}
/**
* 获取有效潜在团员数量
* @param string $uids
* @return mixed
*/
public
static
function
getPotentialGroupMemberCount
(
$uids
)
{
return
self
::
call
(
'groupMembers.getPotentialGroupMemberCount'
,
compact
(
'uids'
));
}
}
\ 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