2021-06-02 11:27:13 +00:00
|
|
|
<?php
|
|
|
|
require "../../bootstrap.php";
|
|
|
|
|
|
|
|
use Backend\Model\Post;
|
|
|
|
|
|
|
|
header('Content-Type: application/json;charset=UTF-8');
|
|
|
|
|
2021-06-03 10:50:28 +00:00
|
|
|
$data = Post::all();
|
2021-06-02 11:27:13 +00:00
|
|
|
echo $data;
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-03 10:50:28 +00:00
|
|
|
|