Browse Source

pay template fix

zhaoyang 1 year ago
parent
commit
83b777496b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/Channel/Http/Controllers/PayTemplateController.php

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

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