This commit is contained in:
root
2019-12-23 16:12:35 +08:00
parent 3154084482
commit e7b9213510
19 changed files with 29 additions and 29 deletions

View File

@ -9,7 +9,7 @@ use App\Utils\Helper;
class NoticeController extends Controller
{
public function getNotice (Request $request) {
public function fetch (Request $request) {
return response([
'data' => Notice::orderBy('created_at', 'DESC')->first()
]);