company_id=4151 对usermane 不默认脱敏

Change-Id: I26d45b11db9911ced0f3ab42de9ae7562494de45
This commit is contained in:
gyw 2024-04-15 09:42:38 +08:00
parent f6c7b1a5d5
commit 08e36f88d1
1 changed files with 2 additions and 2 deletions

View File

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