From 1063e9eb36dc9c9bd04abd7943ca1722aee1565a Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Fri, 13 Sep 2024 14:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=86=99=E5=9F=BA=E7=B1=BB=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/localstore/LocalStoreGoodsItem.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/common/model/localstore/LocalStoreGoodsItem.php b/app/common/model/localstore/LocalStoreGoodsItem.php index b5a1b1ff..06559c2e 100644 --- a/app/common/model/localstore/LocalStoreGoodsItem.php +++ b/app/common/model/localstore/LocalStoreGoodsItem.php @@ -7,4 +7,10 @@ use app\common\basics\Models; class LocalStoreGoodsItem extends Models { protected $table = 'ls_local_store_goods_item'; + + // 重写基类方法 + public function getImageAttr($value,$data) + { + return $value; + } } \ No newline at end of file