Commit 3c3b957e authored by 夏彬's avatar 夏彬

添加消息相关的api

parent eaac8b8f
...@@ -72,7 +72,7 @@ class Message extends Client ...@@ -72,7 +72,7 @@ class Message extends Client
* @param $likedComment * @param $likedComment
* @return mixed * @return mixed
*/ */
public static function addLike($userId, $title, $sourceUrl, $from, $type, $sourceId, $likeUserId, $likedComment) public static function addLike($userId, $title, $sourceUrl, $from, $type, $sourceId, $likeUserId, $likedComment = '')
{ {
return self::call('message.addLike', compact('userId', 'title', 'sourceUrl', 'from', 'type', 'sourceId', 'likeUserId', 'likedComment')); return self::call('message.addLike', compact('userId', 'title', 'sourceUrl', 'from', 'type', 'sourceId', 'likeUserId', 'likedComment'));
} }
......
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