修复首页nga接口不返回标题

This commit is contained in:
榕城小林囝 2024-03-08 13:39:37 +08:00 committed by GitHub
parent b7260cf569
commit 2a018c0640
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ const getData = (data) => {
result.forEach((result) => { result.forEach((result) => {
dataList.push({ dataList.push({
author: result.author, author: result.author,
desc: result.subject, title: result.subject,
parent: result.parent["2"], parent: result.parent["2"],
tid: result.tid, tid: result.tid,
comments: Number(result.replies), comments: Number(result.replies),