Commit f011afcc authored by Morson's avatar Morson

Merge remote-tracking branch 'origin/master'

parents b7def8ec dd5cb47f
...@@ -15,50 +15,49 @@ use internalApi\base\Client; ...@@ -15,50 +15,49 @@ use internalApi\base\Client;
class ElasContent extends Client class ElasContent extends Client
{ {
/** /**
* @param int $id //数据id * @param int $id //数据id
* @param string $title //标题 * @param string $title //标题
* @param string $contentData //纯文本内容 * @param string $contentData //纯文本内容
* @param string $pic //图片 没有预览图去文本第一章 * @param string $pic //图片 没有预览图去文本第一章
* @param string $url * @param string $url
* @param string $from bbs xue s * @param string $from bbs xue s
* @param int $createdAt //创建时间 * @param int $createdAt //创建时间
* @param array $extra //额外属性 array * @param array $extra //额外属性 array
* @return mixed * @return mixed
* @deprecated * @deprecated
*/ * @param false $isNewES
public static function replace($id, $title, $contentData, $pic,$url,$from, $createdAt, $extra){ * @throws \internalApi\base\ApiException
return self::call('elasContent.replace',compact('id','title','contentData','pic','url','from','createdAt','extra')); * @throws \internalApi\base\ClientException
*/
public static function replace($id, $title, $contentData, $pic,$url,$from, $createdAt, $extra,$isNewES=false){
return self::call('elasContent.replace',compact('id','title','contentData','pic','url','from','createdAt','extra','isNewES'));
} }
/** /**
* @param integer $id 数据id 学院的courseId bbs的thread id * @param integer $id 数据id 学院的courseId bbs的thread id
* @param string $title 标题 * @param string $title 标题
* @param string $contentData 纯文本内容 过滤掉富文本部分 * @param string $contentData 纯文本内容 过滤掉富文本部分
* @param array $imgs 图片列表 * @param array $imgs 图片列表
* @param string $url 地址 * @param string $url 地址
* @param string $from 来源 bbs xue moment 动态 * @param string $from 来源 bbs xue moments 动态
* @param integer $hot 热度 * @param integer $hot 热度
* @param integer $fid 版块id * @param integer $fid 版块id
* @param array $tags 标签数组 * @param array $tags 标签数组
* @param integer $like_num 点赞数 * @param integer $like_num 点赞数
* @param integer $comment_num 评论数 * @param integer $comment_num 评论数
* @param integer $order_time 排序时间 * @param integer $order_time 排序时间
* @param integer $uid 用户中心uid * @param integer $uid 用户中心uid
* @param integer $createdAt * @param integer $createdAt
* @param array $extra * @param array $extra
* [ * @param false $isNewES
* 'diagnose'=>'', //诊断 1 代表为诊断类型 1 * @return mixed
* 'technology'', //工艺 1 代表为工艺类型 * @throws \internalApi\base\ApiException
* .... * @throws \internalApi\base\ClientException
* ] */
* @return mixed public static function newreplace($id, $title, $contentData, $imgs,$fid,$url,$from,$hot,$tags,$like_num,$comment_num,$order_time,$uid, $createdAt, $extra,$isNewES=false){
* @throws \internalApi\base\ApiException return self::call('elasContent.newreplace',compact('id', 'title', 'contentData', 'imgs', 'fid','url', 'from','hot','tags','like_num','comment_num','order_time','uid', 'createdAt', 'extra','isNewES'));
* @throws \internalApi\base\ClientException
*/
public static function newreplace($id, $title, $contentData, $imgs,$fid,$url,$from,$hot,$tags,$like_num,$comment_num,$order_time,$uid, $createdAt, $extra){
return self::call('elasContent.newreplace',compact('id', 'title', 'contentData', 'imgs', 'fid','url', 'from','hot','tags','like_num','comment_num','order_time','uid', 'createdAt', '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