feat : sts
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -110,7 +110,8 @@ class OssCallbackService
|
||||
'category',
|
||||
'sku',
|
||||
'salesman',
|
||||
'driver'
|
||||
'driver',
|
||||
'evaluation'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user