fixed
This commit is contained in:
@@ -130,6 +130,7 @@ class Reporttt
|
|||||||
$data[] = [
|
$data[] = [
|
||||||
'username'=>$user['username'],//登录的医生
|
'username'=>$user['username'],//登录的医生
|
||||||
'report_content'=>$choice['message']['content'],
|
'report_content'=>$choice['message']['content'],
|
||||||
|
'name'=>$basedata['name'],
|
||||||
];
|
];
|
||||||
$res_content[] = $choice['message']['content'];
|
$res_content[] = $choice['message']['content'];
|
||||||
}
|
}
|
||||||
@@ -144,12 +145,12 @@ class Reporttt
|
|||||||
//只新增不修改
|
//只新增不修改
|
||||||
Db::table('fa_tt_userbaseinfo')->insert($basedata);
|
Db::table('fa_tt_userbaseinfo')->insert($basedata);
|
||||||
Db::commit();
|
Db::commit();
|
||||||
|
return json(Tools::set_ok(['basedata'=>$basedata,'res_content'=>$res_content]));
|
||||||
}catch (\Exception $e){
|
}catch (\Exception $e){
|
||||||
Db::rollback();
|
Db::rollback();
|
||||||
Tools::error_txt_log($e);
|
Tools::error_txt_log($e);
|
||||||
return json(Tools::set_fail('新增报告失败.'.$e->getMessage()));
|
return json(Tools::set_fail('新增报告失败.'.$e->getMessage()));
|
||||||
}
|
}
|
||||||
return json(Tools::set_ok($res_content));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ use wanghua\general_utility_tools_php\tool\Tools;
|
|||||||
*/
|
*/
|
||||||
class Followup extends Backend
|
class Followup extends Backend
|
||||||
{
|
{
|
||||||
|
protected $noNeedRight = ['addfollowup','submitfollowup','addFollowUpTy','submitFollowUpTy'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Followup模型对象
|
* Followup模型对象
|
||||||
|
|||||||
Reference in New Issue
Block a user