|
@@ -1,8 +1,6 @@
|
|
|
<?php
|
|
|
namespace app\api\controller;
|
|
|
use app\common\service\Elastic;
|
|
|
-use Elastic\Elasticsearch\ClientBuilder;
|
|
|
-
|
|
|
class Es extends Base {
|
|
|
/**
|
|
|
* @title ES集群数据流列表
|
|
@@ -13,13 +11,6 @@ class Es extends Base {
|
|
|
*/
|
|
|
function test ()
|
|
|
{
|
|
|
-
|
|
|
- test();
|
|
|
- die();
|
|
|
-
|
|
|
- $es= ClientBuilder::create()->build();
|
|
|
- var_dump($es);
|
|
|
- die();
|
|
|
$list = Elastic::test();
|
|
|
$this->success('ok',$list['data']);
|
|
|
}
|