Browse Source

测试临时屏蔽

lizhen_gitee 10 months ago
parent
commit
656ef845d7

+ 3 - 1
application/api/controller/Index.php

@@ -120,7 +120,9 @@ class Index extends Api
     public function doctor_paiban(){
         $doctor_id = input('doctor_id',0);
 
-        $list = Db::name('doctor_paiban')->where('doctor_id',$doctor_id)->where('active',1)->where('activetime','gt',time()+7200)->order('activetime asc')->select();
+        //测试临时屏蔽
+        //$list = Db::name('doctor_paiban')->where('doctor_id',$doctor_id)->where('active',1)->where('activetime','gt',time()+7200)->order('activetime asc')->select();
+        $list = Db::name('doctor_paiban')->where('doctor_id',$doctor_id)->where('active',1)->order('activetime asc')->select();
 
         $newlist = [];
         if(!empty($list)){

+ 2 - 1
application/api/controller/Wenzhen.php

@@ -75,7 +75,8 @@ class Wenzhen extends Api
         if($ordertype == 2){
             //检查
             if($book_time < time() + 7200){
-                $this->error('最早只能预约'.date('m-d H:00',time() + 10800)); //最早预约两个小时后的一个整点
+                //测试临时屏蔽
+                //$this->error('最早只能预约'.date('m-d H:00',time() + 10800)); //最早预约两个小时后的一个整点
             }
             //排班状态
             $doctor_paiban = Db::name('doctor_paiban')->where('doctor_id',$doctor_id)->where('activetime',$book_time)->find();

+ 4 - 4
application/config.php

@@ -328,7 +328,7 @@ return [
         'secret' => '',
     ],
 
-    //阿里云实名认证二要素数脉, 健康正式
+    //阿里云实名认证二要素数脉, 健康e家 正式
     'aliyun_auth_shumai_two' => [
         'app_key'    => '204603932',
         'app_secret' => 'mvDYtoBDlpwnLpGjuusAsOmOEvXoTH8U',
@@ -342,7 +342,7 @@ return [
         'client_secret' => 'YXA6chqBGcWoRH4OKw5Uc4jTvk5bSEs',
     ],
 
-    // 腾讯im配置
+    // 腾讯im配置  健康e家 正式
     'tencent_im' => [
         'sdkappid' => '1600034104',
         'identifier' => '',
@@ -354,7 +354,7 @@ return [
         'SecretKey' => '',
     ],
 
-    //腾讯增强版人脸核身。 商品识别 。 cos
+    //腾讯增强版人脸核身。 商品识别 。 cos 。健康e家 正式
     'tencent_yun' => [
         'secret_id' => 'AKIDcCsNhsulSzNbefXqFi8ORI4jEYgdQ1Rk',
         'secret_key' => 'dCb3PbbS7bvADB3pEi9WqDZosocJp694',
@@ -387,7 +387,7 @@ return [
 
     ],*/
 
-    //开放平台的
+    //开放平台的  微信授权登录用
     'wechat_app_login' => [
         'appid'  => 'wx4148b31582a36cbc',
         'secret' => '5c56f3d50113caf5d105279305a2ca44',