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);