Przeglądaj źródła

commit index model

superbee 8 lat temu
rodzic
commit
eab8181016
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      application/home/controller/Index.php

+ 1 - 1
application/home/controller/Index.php

@@ -10,7 +10,7 @@ class Index extends Controller {
 	public function index()
 	{
 		$data = Db::name('config')->where(['id'=>1])->find();
-		return json($data);
+		return json(["l"=>$data]);
 	}
 	
 	public function create(){