刘桂岩 3 gadi atpakaļ
vecāks
revīzija
7c86b1e122

+ 2 - 2
application/config.php

@@ -15,9 +15,9 @@ return [
     // +----------------------------------------------------------------------
 
     // 应用调试模式
-    'app_debug'              => false,
+    'app_debug'              => true,
     // 应用Trace
-    'app_trace'              => false,
+    'app_trace'              => true,
     // 应用模式状态
     'app_status'             => '',
     // 是否支持多模块

+ 4 - 4
application/inter/controller/Registerlist.php

@@ -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()]);
+//        }
     }