Pārlūkot izejas kodu

commit index model

superbee 8 gadi atpakaļ
vecāks
revīzija
eab8181016
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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(){