From d5087cab2cd43adec16bbcf8536c8ffa6783949d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Fri, 21 Jun 2024 14:41:00 +0800 Subject: [PATCH] log --- api/controllers/wxapp/licheb/Cusorder.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/controllers/wxapp/licheb/Cusorder.php b/api/controllers/wxapp/licheb/Cusorder.php index 95441223..e0405385 100644 --- a/api/controllers/wxapp/licheb/Cusorder.php +++ b/api/controllers/wxapp/licheb/Cusorder.php @@ -247,10 +247,10 @@ class Cusorder extends Wxapp $this->receiver_order_oplogs_model->add($log); //数据提交汽车之家 -// $res = $this->orders_entity->post_auto($id); -// if (!$res['code']) { -// throw new Exception('网络错误,请联系管理员', ERR_PARAMS_ERROR); -// } + $res = $this->orders_entity->post_auto($id); + if (!$res['code']) { + throw new Exception('网络错误,请联系管理员', ERR_PARAMS_ERROR); + } throw new Exception('审核通过,操作成功', API_CODE_SUCCESS); } else { throw new Exception('操作失败,请联系管理员', ERR_PARAMS_ERROR);