补充说明
This commit is contained in:
parent
7a3c0375fa
commit
1dd856fc99
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user