소스 검색

commit index model

superbee 8 년 전
부모
커밋
eab8181016
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(){