|
@@ -45,7 +45,7 @@ class Registerlist extends Base
|
|
|
*")
|
|
|
**/
|
|
|
public function index(){
|
|
|
- try{
|
|
|
+// try{
|
|
|
log::record('------------接收的值--------------------');
|
|
|
log::record($_REQUEST);
|
|
|
log::record('--------------------------------');
|
|
@@ -132,9 +132,9 @@ class Registerlist extends Base
|
|
|
$sql1 = "SELECT count(1) from exams as e ,patient_infos as p where e.institution_id='".$doctor['institution_id']."' and p.id=e.patient_id and e.status!=0 ".$where;
|
|
|
$count = DB::query($sql1);
|
|
|
return json_encode(['status'=>'ok','code'=>'0000','info'=>$list,'count'=>$count[0]['count(1)'],'sessionid'=>$sessionid]);
|
|
|
- }catch(\Exception $e){
|
|
|
- return json_encode(['status'=>'fail','code'=>'2000','msg'=>$e->getMessage()]);
|
|
|
- }
|
|
|
+// }catch(\Exception $e){
|
|
|
+// return json_encode(['status'=>'fail','code'=>'2000','msg'=>$e->getMessage()]);
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
|