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
2e1508a4
Commit
2e1508a4
authored
Mar 08, 2019
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改interapi
parent
cf048ce7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
ucenter_elascontent.php
example/ucenter_elascontent.php
+8
-8
ucenter_label.php
example/ucenter_label.php
+1
-1
No files found.
example/ucenter_elascontent.php
View file @
2e1508a4
...
@@ -11,17 +11,17 @@ use internalApi\ucenter\ElasContent;
...
@@ -11,17 +11,17 @@ use internalApi\ucenter\ElasContent;
require
__DIR__
.
'/_init.php'
;
require
__DIR__
.
'/_init.php'
;
ElasContent
::
setDebug
();
ElasContent
::
setDebug
();
//ElasContent::newreplace(5, "测试标题1", "内容", ['//imgs1', 'imgs2'],
'http://www.baidu.com', 'bbs', 10, [
ElasContent
::
newreplace
(
5
,
"测试标题1"
,
"内容"
,
[],
1
,
'http://www.baidu.com'
,
'bbs'
,
10
,
[
//
'洗衣机',
'洗衣机'
,
//
//
], 8, 9, 1551601307, 38, 1551601307, [
],
8
,
9
,
1551601307
,
38
,
1551601307
,
[
//
'a' => 1,
'a'
=>
1
,
//
'b' => 2
'b'
=>
2
//
]);
]);
//ElasContent::update(5,'bbs',[
//ElasContent::update(5,'bbs',[
// 'title'=>'夏彬 修改',
// 'title'=>'夏彬 修改',
// 'tags'=>[
// 'tags'=>[
// 'aas','夏彬','夏彬','1'
// 'aas','夏彬','夏彬','1'
// ]
// ]
//]);
//]);
ElasContent
::
delete
(
5
,
'bbs'
);
//
ElasContent::delete(5,'bbs');
example/ucenter_label.php
View file @
2e1508a4
...
@@ -15,5 +15,5 @@ require __DIR__.'/_init.php';
...
@@ -15,5 +15,5 @@ require __DIR__.'/_init.php';
Label
::
setDebug
();
Label
::
setDebug
();
//$info = Group::getPotentialGroupMemberList('worker-71318');
//$info = Group::getPotentialGroupMemberList('worker-71318');
$info
=
Label
::
getLabels
(
Label
::
TYPE_BRAND
);
$info
=
Label
::
getLabels
(
[
Label
::
TYPE_BRAND
,
Label
::
TYPE_CATEGORY
]
);
print_r
(
$info
);
print_r
(
$info
);
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