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
e32a9a68
Commit
e32a9a68
authored
Mar 03, 2019
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加设置为服务星邀请人的接口
parent
5a5af81d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
ucenter_vip.php
example/ucenter_vip.php
+6
-1
Vip.php
src/ucenter/Vip.php
+5
-0
No files found.
example/ucenter_vip.php
View file @
e32a9a68
...
@@ -10,4 +10,9 @@ use internalApi\ucenter\Vip;
...
@@ -10,4 +10,9 @@ use internalApi\ucenter\Vip;
require
__DIR__
.
'/_init.php'
;
require
__DIR__
.
'/_init.php'
;
Vip
::
addPending
(
12
,
123
,
1
);
Vip
::
setDebug
();
\ No newline at end of file
$ret
=
Vip
::
getGrades
();
$ret
=
Vip
::
setInviter
(
'844184b4016810002cde5254007c97eb'
,
'0e150e59016910003f4c525400781c54'
);
print_r
(
$ret
);
//Vip::addPending(12, 123, 1);
\ No newline at end of file
src/ucenter/Vip.php
View file @
e32a9a68
...
@@ -46,4 +46,9 @@ class Vip extends Client
...
@@ -46,4 +46,9 @@ class Vip extends Client
return
self
::
call
(
'vip.addPending'
,
compact
(
'uid'
,
'performance'
,
'type'
,
'byWxhUid'
));
return
self
::
call
(
'vip.addPending'
,
compact
(
'uid'
,
'performance'
,
'type'
,
'byWxhUid'
));
}
}
public
static
function
setInviter
(
$uid
,
$inviteUid
)
{
return
self
::
call
(
'vip.setInviter'
,
compact
(
'uid'
,
'inviteUid'
));
}
}
}
\ 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