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
cb7e5c9a
Commit
cb7e5c9a
authored
Apr 14, 2019
by
杨培
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加更新动态 ext 信息接口
parent
33ac17d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
Timeline.php
src/ucenter/Timeline.php
+15
-0
No files found.
src/ucenter/Timeline.php
View file @
cb7e5c9a
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
namespace
internalApi\ucenter
;
namespace
internalApi\ucenter
;
use
internalApi\base\ApiException
;
use
internalApi\base\Client
;
use
internalApi\base\Client
;
use
internalApi\base\ClientException
;
class
Timeline
extends
Client
class
Timeline
extends
Client
{
{
...
@@ -39,4 +41,17 @@ class Timeline extends Client
...
@@ -39,4 +41,17 @@ class Timeline extends Client
return
self
::
call
(
'Timeline.removeTimeline'
,
compact
(
'key'
));
return
self
::
call
(
'Timeline.removeTimeline'
,
compact
(
'key'
));
}
}
/**
* 更新时间线 ext 数据
*
* @param string $key
* @param array $ext
* @return bool
* @throws ApiException|ClientException
*/
public
static
function
updateExt
(
$key
,
$ext
)
{
return
self
::
call
(
'Timeline.updateExt'
,
compact
(
'key'
,
'ext'
));
}
}
}
\ 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