...
|
...
|
@@ -1846,11 +1846,14 @@ class Algorithm extends Api |
|
|
'On' => $this->RecommendedList($NewTestQuestionArray)
|
|
|
];
|
|
|
foreach ($Return['On'] as $k => $v) {
|
|
|
if(!empty($v['GoodsArray'])){
|
|
|
if (!empty($v['GoodsArray'])) {
|
|
|
$Tuijian[] = $v['GoodsArray'];
|
|
|
}
|
|
|
}
|
|
|
dump($Tuijian);
|
|
|
foreach ($Tuijian as $k => $v) {
|
|
|
$tuijian2[] = $v[$k];
|
|
|
}
|
|
|
dump($tuijian2);
|
|
|
|
|
|
die;
|
|
|
return $Return;
|
...
|
...
|
|