This commit is contained in:
2025-07-08 15:38:43 +08:00
parent de9425eaff
commit c9f78d372d
7 changed files with 68 additions and 7 deletions
+1
View File
@@ -48,6 +48,7 @@ class AdpController extends BaseController
foreach ($ad as $k => $v) {
$v['alt'] = isset($v['translation']) ? $v['translation']['alt'] : '';
$v['title'] = isset($v['translation']) ? $v['translation']['title'] : '';
$v['full_img'] = (new \app\mzl\modules\upload\service\OssService())->generatePrivateUrl($v['img']);
unset($v['translation']);
$item['ad'][$k] = $ad;
}