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
c09e5b85
Commit
c09e5b85
authored
Jul 07, 2017
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加收藏和浏览记录的接口
parent
08b13b33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Favorite.php
src/ucenter/Favorite.php
+7
-0
No files found.
src/ucenter/Favorite.php
View file @
c09e5b85
...
@@ -26,6 +26,13 @@ class Favorite extends Client
...
@@ -26,6 +26,13 @@ class Favorite extends Client
}
}
/**
* @param $from
* @param $type
* @param array $sourceId
* @param $userId
* @return mixed
*/
public
static
function
isFavorite
(
$from
,
$type
,
$sourceId
,
$userId
)
public
static
function
isFavorite
(
$from
,
$type
,
$sourceId
,
$userId
)
{
{
return
self
::
call
(
'favorite.isFavorite'
,
compact
(
'from'
,
'type'
,
'sourceId'
,
'userId'
));
return
self
::
call
(
'favorite.isFavorite'
,
compact
(
'from'
,
'type'
,
'sourceId'
,
'userId'
));
...
...
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