刘桂岩 5 years ago
parent
commit
46ebb4b071

+ 1 - 1
application/index/controller/Index.php

@@ -15,7 +15,7 @@ class Index extends Controller
 {
     public function  index(){
         // echo "index";
-        return $this->redirect('http://work.pacsonline.cn',302);;
+//        return $this->redirect('http://work.pacsonline.cn',302);;
     }
     public function get_studiesinfo(){
         $study_id = $_REQUEST['study_id'];

+ 1 - 1
application/inter/controller/Doctors.php

@@ -36,7 +36,7 @@ class Doctors extends Base
     public function  index(){
         $sessionid = $_REQUEST['sessionid'];
         $doctor = Cache::get($sessionid);
-        $field = ['realname','email','phone','doctor_title','attachment','message_push','is_use_autograph','autograph'];
+        $field = ['realname','email','phone','doctor_title','attachment','message_push','is_use_autograph','autograph','send_sms'];
         $info = DB::table('doctors')->where('id',$doctor['id'])->field($field)->find();
         return json_encode(['status'=>'ok','code'=>'0000','info'=>$info]);
     }