Explorar el Código

Merge branch 'test' of qk:zy_duanju/duanju_manage into test

admin hace 1 año
padre
commit
5eef23d38e
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  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.'%'];
         }