Commit c09e5b85 authored by 夏彬's avatar 夏彬

添加收藏和浏览记录的接口

parent 08b13b33
...@@ -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'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment