【程序目录】修复首页开屏广告添加时候的错误

This commit is contained in:
evoxwht 2022-06-10 11:47:35 +08:00
parent 7cbd29116b
commit f4775881bf

View File

@ -625,6 +625,7 @@ class Diy extends AuthController
['value', []],
['video_link', '']
]);
if ($data['type'] == '') $data['type'] = 'pic';
/** @var CacheServices $cacheServices */
$cacheServices = app()->make(CacheServices::class);
$cacheServices->setDbCache('open_adv', $data);