修改患者名称,评价名称

This commit is contained in:
2023-05-12 15:42:39 +08:00
parent 04d6efefd5
commit 8406551ce1
5 changed files with 126 additions and 104 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ class InquiryService extends BaseService
$data['doctor_id'] = $doctor_id;
$data['patient_id'] = $user_info['client_user_id'];
$data['order_inquiry_id'] = $order_inquiry_id;
$data['name_mask'] = Mask::maskNameStr($user_patient['user_name'],2);
$data['name_mask'] = Mask::maskNameStr($order_inquiry['patient_name'],2);
$data['reply_quality'] = $reply_quality;
$data['service_attitude'] = $service_attitude;
$data['reply_progress'] = $reply_progress;
+2 -2
View File
@@ -72,7 +72,7 @@ class LoginService extends BaseService
// 新增用户表
$data = array();
$data['user_name'] = substr($phone_info['phone_info']['purePhoneNumber'],-4);
$data['user_name'] = 'gdxz' . substr($phone_info['phone_info']['purePhoneNumber'],-4) . mt_rand(10000,99999);
$data['mobile'] = $phone_info['phone_info']['purePhoneNumber'];
$data['wx_mobile'] = $phone_info['phone_info']['purePhoneNumber'];
$data['user_type'] = $user_type;
@@ -289,7 +289,7 @@ class LoginService extends BaseService
// 新增用户表
$data = array();
$data['user_name'] = substr($phone,-4);
$data['user_name'] = 'gdxz' . substr($phone,-4) . mt_rand(10000,99999);;
$data['mobile'] = $phone;
$data['wx_mobile'] = $phone;
$data['user_type'] = $user_type;