From 399efe9be304fa321b1b58a30c2818fa6eb4207d Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Sun, 21 Apr 2024 12:34:25 +0800 Subject: [PATCH] 1 --- app/common/model/Channel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/model/Channel.php b/app/common/model/Channel.php index 65d21c65..abcaef44 100644 --- a/app/common/model/Channel.php +++ b/app/common/model/Channel.php @@ -29,7 +29,7 @@ class Channel extends BaseModel public static function init() { -// self::$storeId = 0; -// app()->request->setStoreId(0); + self::$storeId = 0; + app()->request->setStoreId(0); } }