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
ad6b7b54
Commit
ad6b7b54
authored
Jan 26, 2019
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加服务星状态是否可用的判断接口
parent
1113bdba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
Member.php
src/ucenter/Member.php
+15
-1
No files found.
src/ucenter/Member.php
View file @
ad6b7b54
...
@@ -13,7 +13,6 @@ use internalApi\base\Client;
...
@@ -13,7 +13,6 @@ use internalApi\base\Client;
class
Member
extends
Client
class
Member
extends
Client
{
{
public
static
function
getMemberInfo
(
$uid
)
public
static
function
getMemberInfo
(
$uid
)
{
{
return
self
::
call
(
'member.getInfo'
,
compact
(
'uid'
));
return
self
::
call
(
'member.getInfo'
,
compact
(
'uid'
));
...
@@ -143,4 +142,19 @@ class Member extends Client
...
@@ -143,4 +142,19 @@ class Member extends Client
{
{
return
self
::
call
(
'member.updateExtOption'
,
compact
(
'uid'
,
'option'
,
'trigger'
));
return
self
::
call
(
'member.updateExtOption'
,
compact
(
'uid'
,
'option'
,
'trigger'
));
}
}
/**
* 检查服务星是否可用(资料是否完善等)
*
* 此处的服务星状态是否可用仅为判断资料是否齐全等后置条件,本身并不判断是否是服务星
* 相应判断处需自行判断用户信息的 vip_grade 字段是否大于 0
*
* @param int $uid
* @return bool
*/
public
static
function
isVipComplete
(
$uid
)
{
return
self
::
call
(
'member.isVipComplete'
,
compact
(
'uid'
));
}
}
}
\ 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