update vector 512

This commit is contained in:
2020-12-22 15:09:43 +07:00
parent 3f289ddc9d
commit 40df99acd9
2 changed files with 28 additions and 5 deletions

View File

@@ -123,6 +123,9 @@ class ApiController extends Controller {
$f = [];
foreach ($features as $k => $v) {
$f[] = $v['features'];
if (isset($v['features512']))
if (count($v['features512']))
$f[] = $v['features512'];
}
$allFeatures[] = [
"id" => $value->id,