فهرست منبع

上下架状态

shish 6 سال پیش
والد
کامیت
a37314f954
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      biz/goods/services/GoodsCategoryService.php

+ 1 - 1
biz/goods/services/GoodsCategoryService.php

@@ -22,7 +22,7 @@ class GoodsCategoryService extends BaseService
 			return $data;
 		}
 		$ids = array_column($list, 'gId');
-		$list = GoodsService::getAllByCondition(['id' => ['in', $ids]], 'inTurn DESC', 'goodsName,shopImg,price,sold,id,createTime');
+		$list = GoodsService::getAllByCondition(['id' => ['in', $ids]], 'inTurn DESC', 'goodsName,shopImg,price,sold,id,createTime,status,inTurn');
 		$data['list'] = GoodsClass::groupGoodsBaseInfo($list);
 		return $data;
 	}