mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
补充说明
This commit is contained in:
@@ -78,6 +78,8 @@ itHomeRouter.get("/ithome", async (ctx) => {
|
|||||||
if (!data) {
|
if (!data) {
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
code: 500,
|
code: 500,
|
||||||
|
title: "IT之家",
|
||||||
|
subtitle: "热榜",
|
||||||
message: "获取失败",
|
message: "获取失败",
|
||||||
};
|
};
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user