Parcourir la source

Merge branch 'liuzj-1000959-dev' into test

liuzejian il y a 1 an
Parent
commit
39bdbccd28
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 1 4
      modules/Channel/Http/Controllers/PayTemplateController.php

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

@@ -43,10 +43,7 @@ class PayTemplateController extends CatchController
         $name = $request->get('name');
         // 1-首充模板,2-非首充模板
         $type = $request->input('type');
-        $where = [[
-            'uid','=',$uid,
-            'type', '=', $type,
-        ]];
+        $where = [['uid','=',$uid,], ['type', '=', $type,]];
         if($name){
             $where[] = ['name','like','%'.$name.'%'];
         }