lizhen_gitee 8 달 전
부모
커밋
925f50212f
3개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      application/admin/controller/Lessonorder.php
  2. 1 0
      application/api/controller/Usercenter.php
  3. 1 1
      application/index/controller/Plantask.php

+ 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');