Browse Source

pay template fix

zhaoyang 1 năm trước cách đây
mục cha
commit
83b777496b

+ 1 - 0
modules/Channel/Http/Controllers/PayTemplateController.php

@@ -201,6 +201,7 @@ class PayTemplateController extends CatchController
 
 
         if($status == 1){
         if($status == 1){
             $this->payTemplate->where('uid',$uid)->update(['status'=>0]);
             $this->payTemplate->where('uid',$uid)->update(['status'=>0]);
+            $this->payTemplate->where('id',$id)->update(['status'=>1]);
         }
         }
         if($template_info_update){
         if($template_info_update){
             $exists->save();
             $exists->save();