This commit is contained in:
小鱼开发
2024-06-21 14:41:00 +08:00
parent 964d6b23df
commit d5087cab2c
+4 -4
View File
@@ -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);