|
@@ -101,7 +101,11 @@ class GoodsService extends BaseService
|
|
|
foreach ($list['data'] as &$item) {
|
|
foreach ($list['data'] as &$item) {
|
|
|
$item['supply_name'] = isset($supplyList[$item['supply_type']])? $supplyList[$item['supply_type']] : '';
|
|
$item['supply_name'] = isset($supplyList[$item['supply_type']])? $supplyList[$item['supply_type']] : '';
|
|
|
}
|
|
}
|
|
|
|
|
+ unset($item);
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $this->updateGoods();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
return [
|
|
return [
|
|
|
'total'=> isset($list['total'])? $list['total'] : 9,
|
|
'total'=> isset($list['total'])? $list['total'] : 9,
|
|
|
'pageSize'=> $pageSize,
|
|
'pageSize'=> $pageSize,
|