diff --git a/app/common/model/goods/GoodsSubsidy.php b/app/common/model/goods/GoodsSubsidy.php index 6145dfc4..8aa35eff 100644 --- a/app/common/model/goods/GoodsSubsidy.php +++ b/app/common/model/goods/GoodsSubsidy.php @@ -25,7 +25,7 @@ class GoodsSubsidy extends Models public function getSubsidyById($id) { - $result = $this->where(['id' => $id, 'is_delete' => 0])->field('id, profit, subsidy')->find(); + $result = $this->where(['id' => $id, 'is_delete' => 0])->field('id, profit, subsidy, store_subsidy')->find(); $result['profit'] = self::formatStr($result['profit']); $result['subsidy'] = self::formatStr($result['subsidy']); $result['store_subsidy'] = self::formatStr($result['store_subsidy']);