From bf2748b22c44f615831f74ef5481849492e8a275 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Tue, 10 Dec 2024 16:29:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=95=86=E5=93=81=E8=BF=94?= =?UTF-8?q?=E8=A1=A5=E6=AF=94=E4=BE=8B=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/goods/GoodsSubsidy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);