fixed
This commit is contained in:
@@ -75,8 +75,9 @@ class Reportty
|
||||
$choices = $item['choices'];
|
||||
foreach ($choices as $choice){
|
||||
$data = [
|
||||
'doctor'=>$user['doctor'],
|
||||
'username'=>$user['username'],
|
||||
'doctor'=>$user['username'],
|
||||
//病人
|
||||
'username'=>Db::table('fa_users')->where('doctor',$user['username'])->value('username'),
|
||||
'report_content'=>$choice['message']['content'],
|
||||
];
|
||||
Db::table('fa_ty_medical_report')->insert($data);
|
||||
|
||||
Reference in New Issue
Block a user