소스 검색

排班详情

lizhen_gitee 10 달 전
부모
커밋
4b18e692a3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      application/api/controller/doctor/Index.php

+ 1 - 0
application/api/controller/doctor/Index.php

@@ -48,6 +48,7 @@ class Index extends Apic
 
         //某周,page=1是本周
         $this_week = $this->get_page_week($page);
+        $this_week[1] = $this_week[1] + 86399;
 
         //医生排班
         $paiban = Db::name('doctor_paiban')->where('doctor_id',$this->auth->id)->where('activetime','BETWEEN',$this_week)->order('activetime asc')->column('activetime,active');