mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-27 01:43:51 +08:00
后台管理升级完成
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
namespace app\service;
|
||||
|
||||
use think\Db;
|
||||
use app\service\ResourcesService;
|
||||
|
||||
/**
|
||||
* 配置服务层
|
||||
@ -43,6 +44,14 @@ class ConfigService
|
||||
return DataReturn('参数不能为空', -1);
|
||||
}
|
||||
|
||||
// 附件
|
||||
$data_fields = ['home_site_logo', 'home_site_logo_wap', 'home_site_desktop_icon'];
|
||||
$attachment = ResourcesService::AttachmentParams($params, $data_fields);
|
||||
foreach($attachment['data'] as $k=>$v)
|
||||
{
|
||||
$params[$k] = $v;
|
||||
}
|
||||
|
||||
// 循环保存数据
|
||||
$success = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user