diff --git a/app/Service/Api/Evaluation/EvaluationService.php b/app/Service/Api/Evaluation/EvaluationService.php index 8dcd066..c5f540f 100644 --- a/app/Service/Api/Evaluation/EvaluationService.php +++ b/app/Service/Api/Evaluation/EvaluationService.php @@ -82,7 +82,7 @@ class EvaluationService extends BaseService $insertModel->sku_id = $orderGoodInfo->sku_id; $insertModel->chef_id = $skuInfo->chef_id; $insertModel->score = $this->request->input('score'); - if (!$this->request->input('image_ids')) { + if ($this->request->input('image_ids')) { $imageIds = explode(',',$this->request->input('image_ids')); if (count($imageIds) > 9) throw new ErrException('超出可以传图片最大值'); $this->updateOssObjects($imageIds);