作者 王智

xiugai

@@ -2408,15 +2408,13 @@ class Algorithm extends Api @@ -2408,15 +2408,13 @@ class Algorithm extends Api
2408 if (!empty($SleepHeight)) { 2408 if (!empty($SleepHeight)) {
2409 //商品信息 $GoodsList 2409 //商品信息 $GoodsList
2410 $GoodsList = $this->SelectGoodsList($SleepHeight['Goods_ids'], 1, $Question); 2410 $GoodsList = $this->SelectGoodsList($SleepHeight['Goods_ids'], 1, $Question);
2411 - dump($GoodsList);  
2412 - die;  
2413 $Return = [ 2411 $Return = [
2414 //icon 2412 //icon
2415 'Icon' => cdnurl($SleepHeight['icon_image']), 2413 'Icon' => cdnurl($SleepHeight['icon_image']),
2416 //盒子名称 2414 //盒子名称
2417 'Title' => $SleepHeight['title'], 2415 'Title' => $SleepHeight['title'],
2418 //商品 2416 //商品
2419 - 'GoodsArray' => $GoodsList, 2417 + 'GoodsArray' => array_values($GoodsList),
2420 ]; 2418 ];
2421 } else { 2419 } else {
2422 $Return = []; 2420 $Return = [];