作者 lyh

gxapi接口

... ... @@ -397,7 +397,7 @@ class PrivateController extends BaseController
}
ProjectServer::useProject($info['project_id']);
$productKeywordModel = new Keyword();
$list = $productKeywordModel::orderByRaw('LENGTH(title) ASC')->limit(50)->get();
$list = $productKeywordModel::orderByRaw('LENGTH(title) ASC')->limit(50)->pluck('title')->toArray();
DB::disconnect('custom_mysql');
$this->response('success',Code::SUCCESS,$list);
}
... ...