Commit d619257b authored by 夏彬's avatar 夏彬

修改interapi

parent 2e1508a4
...@@ -68,6 +68,18 @@ class ElasContent extends Client ...@@ -68,6 +68,18 @@ class ElasContent extends Client
return self::call('elasContent.update',compact('id', 'from', 'data')); return self::call('elasContent.update',compact('id', 'from', 'data'));
} }
/**
* @param integer $id 数据id
* @param string $from 来源 bbs xue
* @param array $data 修改的数据 ['like_num'=>1]
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function increase($id,$from,$data){
return self::call('elasContent.increase',compact('id', 'from', 'data'));
}
/** /**
* delete * delete
* @param $id * @param $id
......
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