...
|
...
|
@@ -639,8 +639,8 @@ class Index extends Api |
|
|
if (empty($Arr)) {
|
|
|
$List = [];
|
|
|
} else {
|
|
|
$i = 0;
|
|
|
foreach ($Arr as $k => $v) {
|
|
|
$i = 0;
|
|
|
$List[$k]['id'] = $v['id'];
|
|
|
$List[$k]['name'] = $v['name'];
|
|
|
$List[$k]['lng'] = $v['lng'];
|
...
|
...
|
@@ -652,7 +652,6 @@ class Index extends Api |
|
|
$i++;
|
|
|
}
|
|
|
}
|
|
|
dump($i);
|
|
|
if ($i == 0) {
|
|
|
$List[$k]['num'] = 0;
|
|
|
}
|
...
|
...
|
|