zhaoyang 2 лет назад
Родитель
Сommit
83b777496b
1 измененных файлов с 1 добавлено и 0 удалено
  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();