Merge branch 'feat-wxwork' into dev. 新增后端支持企业微信配置

This commit is contained in:
2025-12-16 11:08:14 +08:00
11 changed files with 629 additions and 55 deletions

View File

@@ -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' ];
@@ -151,6 +154,7 @@ class Config extends BaseApi
'store_config' => $this->store_data[ 'config' ],
'map_config' => $map_config,
'aikefu_config' => $aikefu_config,
'wxwork_config' => $wxwork_config
];
if (!empty($this->store_data[ 'store_info' ])) {
$res[ 'store_info' ] = $this->store_data[ 'store_info' ];