Commit 2e1508a4 authored by 夏彬's avatar 夏彬

修改interapi

parent cf048ce7
...@@ -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');
...@@ -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);
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