yingzi 2 rokov pred
rodič
commit
58ed203e76
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/system/controller/Sys.php

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

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