Explorar o código

Default Changelist

yingzi %!s(int64=2) %!d(string=hai) anos
pai
achega
a85bd898df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/api/controller/User.php

+ 1 - 1
app/api/controller/User.php

@@ -154,7 +154,7 @@ class User extends BaseController
                   $v['auth_info'] = $InfoAudit->where('uid',$v['uid'])->where('status',1)->find();
               }
           } else {
-              $list = array_fill(0, 6, null);
+              $list = array_fill(0, 6, $list);
           }
         return app('json')->success(compact('count','list'));
      }