fixed
This commit is contained in:
@@ -46,6 +46,7 @@ class Reporttt extends BaseHttpApi
|
|||||||
wechat_no 微信号
|
wechat_no 微信号
|
||||||
ticket 对话票据
|
ticket 对话票据
|
||||||
hdrdepartment_id 科室
|
hdrdepartment_id 科室
|
||||||
|
* from 来源:num_per=数智人,ty=听译助手,h5=h5网页问诊
|
||||||
*
|
*
|
||||||
* content 对话内容;格式:
|
* content 对话内容;格式:
|
||||||
* $content = [
|
* $content = [
|
||||||
@@ -106,7 +107,7 @@ class Reporttt extends BaseHttpApi
|
|||||||
'address'=>input('address',''),//地址
|
'address'=>input('address',''),//地址
|
||||||
'phone'=>input('phone',''),//联系方式
|
'phone'=>input('phone',''),//联系方式
|
||||||
'wechat_no'=>input('wechat_no',''),//微信号
|
'wechat_no'=>input('wechat_no',''),//微信号
|
||||||
'from'=>input('from'),//来源
|
'from'=>input('from','num_per'),//来源
|
||||||
'ticket'=>$ticket,//对话票据'
|
'ticket'=>$ticket,//对话票据'
|
||||||
'date'=>date('Y-m-d'),
|
'date'=>date('Y-m-d'),
|
||||||
'hdrdepartment_id'=>input('hdrdepartment_id'),//科室
|
'hdrdepartment_id'=>input('hdrdepartment_id'),//科室
|
||||||
@@ -185,6 +186,7 @@ class Reporttt extends BaseHttpApi
|
|||||||
//只新增不修改
|
//只新增不修改
|
||||||
$DATAID = Db::table('fa_tt_userbaseinfo')->insert($basedata);
|
$DATAID = Db::table('fa_tt_userbaseinfo')->insert($basedata);
|
||||||
$item['userbaseid'] = $DATAID;
|
$item['userbaseid'] = $DATAID;
|
||||||
|
$item['from'] = input('from','num_per');//来源:num_per=数智人,ty=听译助手,h5=h5网页问诊
|
||||||
Db::table('fa_tt_medical_report')->insert($item);
|
Db::table('fa_tt_medical_report')->insert($item);
|
||||||
//日期
|
//日期
|
||||||
$item['date'] = date('Y-m-d');
|
$item['date'] = date('Y-m-d');
|
||||||
|
|||||||
Reference in New Issue
Block a user