Ver código fonte

commit index model

superbee 8 anos atrás
pai
commit
eab8181016
1 arquivos alterados com 1 adições e 1 exclusões
  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(){