Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh_internal_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
杨培培
wxh_internal_api
Commits
f1d74eb7
Commit
f1d74eb7
authored
Apr 13, 2019
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改elascontent
parent
d619257b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ElasContent.php
src/ucenter/ElasContent.php
+5
-4
No files found.
src/ucenter/ElasContent.php
View file @
f1d74eb7
...
@@ -25,6 +25,7 @@ class ElasContent extends Client
...
@@ -25,6 +25,7 @@ class ElasContent extends Client
* @param $createdAt //创建时间
* @param $createdAt //创建时间
* @param $extra //额外属性 array
* @param $extra //额外属性 array
* @return mixed
* @return mixed
* @deprecated
*/
*/
public
static
function
replace
(
$id
,
$title
,
$contentData
,
$pic
,
$url
,
$from
,
$createdAt
,
$extra
){
public
static
function
replace
(
$id
,
$title
,
$contentData
,
$pic
,
$url
,
$from
,
$createdAt
,
$extra
){
return
self
::
call
(
'elasContent.replace'
,
compact
(
'id'
,
'title'
,
'contentData'
,
'pic'
,
'url'
,
'from'
,
'createdAt'
,
'extra'
));
return
self
::
call
(
'elasContent.replace'
,
compact
(
'id'
,
'title'
,
'contentData'
,
'pic'
,
'url'
,
'from'
,
'createdAt'
,
'extra'
));
...
@@ -37,7 +38,7 @@ class ElasContent extends Client
...
@@ -37,7 +38,7 @@ class ElasContent extends Client
* @param string $contentData 纯文本内容 过滤掉富文本部分
* @param string $contentData 纯文本内容 过滤掉富文本部分
* @param array $imgs 图片列表
* @param array $imgs 图片列表
* @param string $url 地址
* @param string $url 地址
* @param string $from 来源 bbs xue
* @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 标签数组
...
@@ -58,7 +59,7 @@ class ElasContent extends Client
...
@@ -58,7 +59,7 @@ class ElasContent extends Client
/**
/**
* @param integer $id 数据id
* @param integer $id 数据id
* @param string $from 来源 bbs xue
* @param string $from 来源 bbs xue
moments
* @param array $data 修改的数据
* @param array $data 修改的数据
* @return mixed
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ApiException
...
@@ -71,7 +72,7 @@ class ElasContent extends Client
...
@@ -71,7 +72,7 @@ class ElasContent extends Client
/**
/**
* @param integer $id 数据id
* @param integer $id 数据id
* @param string $from 来源 bbs xue
* @param string $from 来源 bbs xue
moments
* @param array $data 修改的数据 ['like_num'=>1]
* @param array $data 修改的数据 ['like_num'=>1]
* @return mixed
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ApiException
...
@@ -83,7 +84,7 @@ class ElasContent extends Client
...
@@ -83,7 +84,7 @@ class ElasContent extends Client
/**
/**
* delete
* delete
* @param $id
* @param $id
* @param $from bbs xue s
* @param $from bbs xue
moment
s
* @return mixed
* @return mixed
*/
*/
public
static
function
delete
(
$id
,
$from
){
public
static
function
delete
(
$id
,
$from
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment