...
|
...
|
@@ -1845,10 +1845,12 @@ class Algorithm extends Api |
|
|
//推荐清单
|
|
|
'On' => $this->RecommendedList($NewTestQuestionArray)
|
|
|
];
|
|
|
// foreach ($Return['On'] as $k => $v) {
|
|
|
// $Tuijian[] = $v['GoodsArray'];
|
|
|
// }
|
|
|
dump($Return['On']);
|
|
|
foreach ($Return['On'] as $k => $v) {
|
|
|
if(!empty($v['GoodsArray'])){
|
|
|
$Tuijian[] = $v['GoodsArray'];
|
|
|
}
|
|
|
}
|
|
|
dump($Tuijian);
|
|
|
|
|
|
die;
|
|
|
return $Return;
|
...
|
...
|
|