品牌logo

This commit is contained in:
2025-08-28 11:18:53 +08:00
parent 149909dd09
commit 3bb2d93b83
+1 -1
View File
@@ -29,7 +29,7 @@ class BrandController extends BaseController
$data['created_at'] = date('Y-m-d H:i:s', $data['created_at']);
if (isset($data['updated_at']))
$data['updated_at'] = date('Y-m-d H:i:s', $data['updated_at']);
if (empty($data['logo']))
if (!empty($data['logo']))
$data['logo_full'] = (new OssService)->generatePrivateUrl($data['logo']);
return $data;
}