From d4c7f1da416c179453376e18d663b534cfd229c9 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Wed, 10 Aug 2022 11:42:46 +0800 Subject: [PATCH] edit-api-ck_car --- api/controllers/wxapp/licheb/Cusorder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/wxapp/licheb/Cusorder.php b/api/controllers/wxapp/licheb/Cusorder.php index eb20dc8b..521eae75 100644 --- a/api/controllers/wxapp/licheb/Cusorder.php +++ b/api/controllers/wxapp/licheb/Cusorder.php @@ -599,7 +599,7 @@ class Cusorder extends Wxapp{ if(!$order_data['car_img']){ throw new Exception('请先上传行驶证', ERR_PARAMS_ERROR); } - if(!$order_data['ins_img']){ + if(!$order_data['ins_img'] && !$order_data['insurance_img'] && !$order_data['business_img']){ throw new Exception('请先上传保单', ERR_PARAMS_ERROR); } }