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
5c81afd1
Commit
5c81afd1
authored
Feb 28, 2019
by
杨培
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
188644ab
254ac4b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
ucenter_test.php
example/ucenter_test.php
+18
-0
Member.php
src/ucenter/Member.php
+12
-0
No files found.
example/ucenter_test.php
0 → 100644
View file @
5c81afd1
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 11/09/2017
* Time: 11:54 AM
*/
use
internalApi\ucenter\Member
;
require
__DIR__
.
'/_init.php'
;
Member
::
setDebug
(
true
);
$data
=
Member
::
getVipByWxhuid
(
'dccc5b52016510003f78525400781c54'
);
//$data = User::canAddGoldCoin(13739230723);
print_r
(
$data
);
\ No newline at end of file
src/ucenter/Member.php
View file @
5c81afd1
...
@@ -157,4 +157,16 @@ class Member extends Client
...
@@ -157,4 +157,16 @@ class Member extends Client
return
self
::
call
(
'member.isVipComplete'
,
compact
(
'uid'
));
return
self
::
call
(
'member.isVipComplete'
,
compact
(
'uid'
));
}
}
/**
* 根据服务星的id,来查询服务星信息
* @param $wxhuid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
getVipByWxhuid
(
$wxhuid
)
{
return
self
::
call
(
'member.getVipByWxhuid'
,
compact
(
'wxhuid'
));
}
}
}
\ 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