feat : sts

This commit is contained in:
2025-04-14 10:20:10 +08:00
parent 5f05e0361e
commit da08ed1dbc
2 changed files with 6 additions and 2 deletions

View File

@@ -66,12 +66,15 @@ class ViewService extends BaseService
$adminInfo = $this->adminUserModel->find($skuInfo->chef_id);
$imageList = $this->getOssObjects(explode(',',$skuInfo->image_ids));
$imageUrl = array_column($imageList,'url');
$res = [
'title' => $skuInfo->title,
'price' => $skuInfo->price,
'chef_id' => $skuInfo->chef_id,
'chef_name' => $adminInfo->chinese_name,
'image_url' => $this->getOssObjectById($skuInfo->image_ids),
'image_url' => $imageUrl,
];
return $this->return->success('success',$res);

View File

@@ -110,7 +110,8 @@ class OssCallbackService
'category',
'sku',
'salesman',
'driver'
'driver',
'evaluation'
];
/**