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

+ 1 - 1
app/system/controller/Sys.php

@@ -42,7 +42,7 @@ class Sys extends BaseController
         }else{
             $data["wxconfig"] = unserialize($data["wxconfig"]);
         }
-        return app('json')->success($data->toArray());
+        return app('json')->success($data);
     }
     public function wxsave(){
         $post = UtilService::getMore([