Commit db0ab207 authored by 夏彬's avatar 夏彬

添加extra

parent 3c3b957e
......@@ -19,8 +19,8 @@ Message::setDebug();
//print_r($info);
//
//$info = \internalApi\ucenter\Message::addComment(1,0,0,'bbs','theme',0,0,'');
//print_r($info);
$info = \internalApi\ucenter\Message::addComment(1,0,0,'bbs','theme',0,0,'','123123');
print_r($info);
//$info = \internalApi\ucenter\Message::addLike(1,0,0,'bbs','theme',0,0,'');
......@@ -29,5 +29,5 @@ Message::setDebug();
//$info = \internalApi\ucenter\Message::deleteComment(1,'bbs','theme',0);
//print_r($info);
$info = \internalApi\ucenter\Message::deleteLiked(1,'bbs','theme',0);
print_r($info);
\ No newline at end of file
//$info = \internalApi\ucenter\Message::deleteLiked(1,'bbs','theme',0);
//print_r($info);
\ No newline at end of file
......@@ -56,9 +56,9 @@ class Message extends Client
* @param string $replyedComment
* @return mixed
*/
public static function addComment($userId, $title, $sourceUrl, $from, $type, $commentId, $replyUserId, $replyedComment = '')
public static function addComment($userId, $title, $sourceUrl, $from, $type, $commentId, $replyUserId, $replyedComment = '',$extra = '')
{
return self::call('message.addComment', compact('userId', 'title', 'sourceUrl', 'from', 'type', 'commentId', 'replyUserId', 'replyedComment'));
return self::call('message.addComment', compact('userId', 'title', 'sourceUrl', 'from', 'type', 'commentId', 'replyUserId', 'replyedComment','extra'));
}
/**
......
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