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
d26312b4
Commit
d26312b4
authored
Aug 12, 2019
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加task interapi
parent
156fbdda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
0 deletions
+54
-0
ucenter_task.php
example/ucenter_task.php
+25
-0
Task.php
src/ucenter/Task.php
+29
-0
No files found.
example/ucenter_task.php
0 → 100644
View file @
d26312b4
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 2019-08-12
* Time: 17:02
*/
/**
* Created by PhpStorm.
* User: xiabin
* Date: 11/09/2017
* Time: 11:54 AM
*/
use
internalApi\ucenter\Member
;
require
__DIR__
.
'/_init.php'
;
\internalApi\ucenter\Task
::
setDebug
(
true
);
\internalApi\ucenter\Task
::
trigger
(
1
,
43
);
//$data = User::canAddGoldCoin(13739230723);
print_r
(
$data
);
src/ucenter/Task.php
0 → 100644
View file @
d26312b4
<?php
/**
* Created by PhpStorm.
* User: xiabin
* Date: 2019-08-12
* Time: 16:59
*/
namespace
internalApi\ucenter
;
use
internalApi\base\Client
;
class
Task
extends
Client
{
/**
* @param $taskId 1:身份认证 2:店铺装修 3:分享店铺 4:分享商品
* @param $uid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public
static
function
trigger
(
$taskId
,
$uid
){
return
self
::
call
(
'task.trigger'
,
compact
(
'taskId'
,
'uid'
));
}
}
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