company_id=4151 对usermane 不默认脱敏
Change-Id: I26d45b11db9911ced0f3ab42de9ae7562494de45
This commit is contained in:
parent
f6c7b1a5d5
commit
08e36f88d1
|
@ -519,7 +519,7 @@ class Order extends REST_Controller
|
||||||
|
|
||||||
$total_price = $this->input->post('total_price');
|
$total_price = $this->input->post('total_price');
|
||||||
$notes = $this->input->post('notes');
|
$notes = $this->input->post('notes');
|
||||||
|
|
||||||
if ($this->user->type_id != USERTYPE_OFFICIAL) {
|
if ($this->user->type_id != USERTYPE_OFFICIAL) {
|
||||||
if (floatval($total_price) >= 0) {
|
if (floatval($total_price) >= 0) {
|
||||||
} else {
|
} 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);
|
$user->username = cutName($user->username);
|
||||||
}
|
}
|
||||||
$alldata['user'] = $user;
|
$alldata['user'] = $user;
|
||||||
|
|
Loading…
Reference in New Issue