From 08e36f88d11365ff1e1deeaacb97adf26bcb91a0 Mon Sep 17 00:00:00 2001 From: gyw <584683237@qq.com> Date: Mon, 15 Apr 2024 09:42:38 +0800 Subject: [PATCH] =?UTF-8?q?company=5Fid=3D4151=20=E5=AF=B9usermane=20?= =?UTF-8?q?=E4=B8=8D=E9=BB=98=E8=AE=A4=E8=84=B1=E6=95=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I26d45b11db9911ced0f3ab42de9ae7562494de45 --- backstage/application/api/controllers/api/Order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backstage/application/api/controllers/api/Order.php b/backstage/application/api/controllers/api/Order.php index 19c1d69..bb81c36 100644 --- a/backstage/application/api/controllers/api/Order.php +++ b/backstage/application/api/controllers/api/Order.php @@ -519,7 +519,7 @@ class Order extends REST_Controller $total_price = $this->input->post('total_price'); $notes = $this->input->post('notes'); - + if ($this->user->type_id != USERTYPE_OFFICIAL) { if (floatval($total_price) >= 0) { } else { @@ -1399,7 +1399,7 @@ where } } - if(isset($user->username) && $user->username != ''){ + if(isset($user->username) && $user->username != '' && $user->company_id != 4151){ $user->username = cutName($user->username); } $alldata['user'] = $user;