feat : sts
This commit is contained in:
@@ -66,12 +66,15 @@ class ViewService extends BaseService
|
|||||||
|
|
||||||
$adminInfo = $this->adminUserModel->find($skuInfo->chef_id);
|
$adminInfo = $this->adminUserModel->find($skuInfo->chef_id);
|
||||||
|
|
||||||
|
$imageList = $this->getOssObjects(explode(',',$skuInfo->image_ids));
|
||||||
|
$imageUrl = array_column($imageList,'url');
|
||||||
|
|
||||||
$res = [
|
$res = [
|
||||||
'title' => $skuInfo->title,
|
'title' => $skuInfo->title,
|
||||||
'price' => $skuInfo->price,
|
'price' => $skuInfo->price,
|
||||||
'chef_id' => $skuInfo->chef_id,
|
'chef_id' => $skuInfo->chef_id,
|
||||||
'chef_name' => $adminInfo->chinese_name,
|
'chef_name' => $adminInfo->chinese_name,
|
||||||
'image_url' => $this->getOssObjectById($skuInfo->image_ids),
|
'image_url' => $imageUrl,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $this->return->success('success',$res);
|
return $this->return->success('success',$res);
|
||||||
|
|||||||
@@ -110,7 +110,8 @@ class OssCallbackService
|
|||||||
'category',
|
'category',
|
||||||
'sku',
|
'sku',
|
||||||
'salesman',
|
'salesman',
|
||||||
'driver'
|
'driver',
|
||||||
|
'evaluation'
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user