From 28b12b3dfed12979bf9dcd2227f294893daec434 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Tue, 16 Dec 2025 10:58:04 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=86=E4=BC=81=E4=B8=9A=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E9=85=8D=E7=BD=AE=E6=8C=82=E8=BD=BD=E5=9C=A8=20config?= =?UTF-8?q?/init=20API=E6=8E=A5=E5=8F=A3=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/api/controller/Config.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/api/controller/Config.php b/src/app/api/controller/Config.php index e101e9ebc..dbc243161 100644 --- a/src/app/api/controller/Config.php +++ b/src/app/api/controller/Config.php @@ -120,6 +120,9 @@ class Config extends BaseApi $config_model = new ConfigModel(); $default_img = $config_model->getDefaultImg($this->site_id, 'shop')[ 'data' ][ 'value' ]; + // 企业微信配置 + $wxwork_config = $config_model->getWxworkConfig($this->site_id, 'shop')[ 'data' ][ 'value' ]; + // 版权信息 $copyright = $config_model->getCopyright($this->site_id, 'shop')[ 'data' ][ 'value' ]; $map_config = $config_model->getMapConfig($this->site_id, 'shop')[ 'data' ][ 'value' ]; @@ -146,7 +149,8 @@ class Config extends BaseApi 'servicer' => $servicer_info, 'shop_info'=>$shop_info, 'store_config' => $this->store_data[ 'config' ], - 'map_config' => $map_config + 'map_config' => $map_config, + 'wxwork_config' => $wxwork_config ]; if (!empty($this->store_data[ 'store_info' ])) { $res[ 'store_info' ] = $this->store_data[ 'store_info' ];