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
d619257b
Commit
d619257b
authored
Mar 09, 2019
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改interapi
parent
2e1508a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
ElasContent.php
src/ucenter/ElasContent.php
+12
-0
No files found.
src/ucenter/ElasContent.php
View file @
d619257b
...
@@ -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
...
...
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