fixed
This commit is contained in:
@@ -122,8 +122,9 @@ class Reportty
|
||||
//'username'=>Db::table('fa_ty_users')->where('doctor',$user['username'])->value('username'),
|
||||
'report_content'=>$choice['message']['content'],
|
||||
];
|
||||
$res_content[] = $choice['message']['content'];
|
||||
Db::table('fa_ty_medical_report')->insert($data);
|
||||
$report_id = Db::table('fa_ty_medical_report')->insertGetId($data);
|
||||
|
||||
$res_content[] = ['report_id'=>$report_id,'report_content'=>$choice['message']['content']];
|
||||
}
|
||||
}
|
||||
//点击生成报告删除历史聊天记录
|
||||
|
||||
Reference in New Issue
Block a user