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' ];