From f3589ed994c3d1829b732aaf3dae3d2691bb81c6 Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Tue, 15 Apr 2025 09:21:12 +0800 Subject: [PATCH] feat : sts --- app/Service/Api/Evaluation/EvaluationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);