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