no message

This commit is contained in:
hellcat committed 2025-04-15 21:56:02 +08:00
1 parent e9089ec24c
commit 3cf5ad23d1
2 files changed
+12 -1

No files matched your search

+11 -1
View File
@@ -9,7 +9,7 @@ use App\Models\ArticleList as Article;
class GithubController extends Controller
{
public function todayUpd ()
public function todayUpd()
{
$sCode = date("Ymd");
@@ -20,4 +20,14 @@ class GithubController extends Controller
}
public function getLast()
{
// $sCode = date("Ymd");
$aToday = Article::orderBy("id", "desc")->first()->toArray();
echo json_encode($aToday);
}
}