Browse Source

医生排班列表,排除接满4单的

lizhen_gitee 10 months ago
parent
commit
57879e939e

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

@@ -95,7 +95,7 @@ class Wenzhen extends Api
             ];
             ];
             $order_count = Db::name('wenzhen_order')->where($map)->count();
             $order_count = Db::name('wenzhen_order')->where($map)->count();
             if($order_count >= 4){
             if($order_count >= 4){
-                $this->error('该时间点已排满');
+                $this->error('该时间点已排满,请重选预约时间');
             }
             }
 
 
         }
         }

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

@@ -126,7 +126,7 @@ class Wenzhen extends Api
             ];
             ];
             $order_count = Db::name('wenzhen_order')->where($map)->count();
             $order_count = Db::name('wenzhen_order')->where($map)->count();
             if($order_count >= 4){
             if($order_count >= 4){
-                $this->error('该时间点已排满');
+                $this->error('该时间点已排满,请重选预约时间');
             }
             }
 
 
         }
         }