From a3acca2320c5241cbded759f90e0f943d36a35e9 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Thu, 22 Aug 2024 14:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=9C=AC=E5=9C=B0=E7=94=9F?= =?UTF-8?q?=E6=B4=BB=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/localstore/LocalStoreGoods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/localstore/LocalStoreGoods.php b/app/common/model/localstore/LocalStoreGoods.php index 563b7bf9..4a36e88f 100644 --- a/app/common/model/localstore/LocalStoreGoods.php +++ b/app/common/model/localstore/LocalStoreGoods.php @@ -11,6 +11,6 @@ class LocalStoreGoods extends Models public function pic() { - $this->hasMany(LocalStoreGoods::class, 'lsg_id'); + $this->hasMany(LocalStoreGoods::class, 'lsg_id', 'lstore_id'); } } \ No newline at end of file