lizhen_gitee 6 hónapja
szülő
commit
925f50212f

+ 1 - 0
application/admin/controller/Lessonorder.php

@@ -147,6 +147,7 @@ class Lessonorder extends Backend
                 $this->error('取消失败');
             }
 
+            //候补上位
             $slot = Db::name('lesson_slot')->where('id',$info['slot_id'])->find();
             $wait_rs = $this->lesson_order_wait($info,$slot);
 

+ 1 - 0
application/api/controller/Usercenter.php

@@ -268,6 +268,7 @@ class Usercenter extends Api
             $this->error('取消失败');
         }
 
+        //候补上位
         $wait_rs = $this->lesson_order_wait($lesson_order,$slot);
 
         //更新已预约人数

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

@@ -486,7 +486,7 @@ class Plantask extends Controller
 
 /////////////////////////////////////////下面都是工具方法////////////////////////////////////////////////
 
-    public function whatapp($receive_mobile,$template,$code,$parameters){
+    private function whatapp($receive_mobile,$template,$code,$parameters){
         if(empty($receive_mobile)){return true;}
 
         $token = config('site.whatsapp_token');