From 6097055437763b20f8bd5c03364c9d9a703ab8b0 Mon Sep 17 00:00:00 2001 From: dengbw Date: Mon, 25 Oct 2021 09:37:56 +0800 Subject: [PATCH] admin_order_1025 --- admin/controllers/receiver/Orders.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/controllers/receiver/Orders.php b/admin/controllers/receiver/Orders.php index 63d8b278..a160a53c 100644 --- a/admin/controllers/receiver/Orders.php +++ b/admin/controllers/receiver/Orders.php @@ -606,8 +606,7 @@ class Orders extends HD_Controller if (!$bill['file'] || !$bill['money']) { return $this->show_json(SYS_CODE_FAIL, '未上传开票文件或未填写到账金额!'); } - $info_json = json_decode($row['info_json'], true); - if (!$bill['cardidA'] && !$info_json['business_licence']) { + if (!$bill['cardidA'] && !$bill['business_licence']) { return $this->show_json(SYS_CODE_FAIL, '未上传用户身份证或营业执照!'); } $this->order_bills_model->update(['status' => 1], ['o_id' => $oid]);