diff --git a/lib/routes/furaffinity/user.js b/lib/routes/furaffinity/user.js
index 4afe8c33d9..d386c433d3 100644
--- a/lib/routes/furaffinity/user.js
+++ b/lib/routes/furaffinity/user.js
@@ -1,10 +1,10 @@
const got = require('@/utils/got');
-// 发起 HTTP GET 请求
module.exports = async (ctx) => {
// 传入参数
const username = String(ctx.params.username);
- // 添加参数username
+
+ // 添加参数username 和 发起 HTTP GET 请求
const response = await got({
method: 'get',
url: `https://faexport.spangle.org.uk/user/${username}.json`,
@@ -16,7 +16,6 @@ module.exports = async (ctx) => {
const data = response.data;
// 收集传入的数据
- const id = data.id;
const name = data.name;
const profile = data.profile;
const account_type = data.profile;
@@ -25,7 +24,6 @@ module.exports = async (ctx) => {
const artist_type = data.artist_type;
const user_title = data.user_title;
const registered_since = data.registered_since;
- const registered_at = data.registered_at;
const current_mood = data.current_mood;
const artist_profile = data.artist_profile;
const pageviews = data.pageviews;
@@ -71,9 +69,9 @@ module.exports = async (ctx) => {
}
}
- const description = `Id: ${id}
Name: ${name}
Profile: ${profile}
Account Type: ${account_type}
+ const description = `Name: ${name}
Profile: ${profile}
Account Type: ${account_type}
Avatar: ${avatar}
Full Name: ${full_name}
Artist Type: ${artist_type}
User Title: ${user_title}
- Registered Since: ${registered_since}
Registered at: ${registered_at}
Current Mood: ${current_mood}
Artist Profile:
${artist_profile}
+ Registered Since: ${registered_since}
Current Mood: ${current_mood}
Artist Profile:
${artist_profile}
Pageviews: ${pageviews}
Submissions: ${submissions}
Comments_Received: ${comments_received}
Comments Given: ${comments_given}
Journals: ${journals}
Favorite: ${favorite}
Artist Information:
Species: ${species}
Personal Quote: ${personal_quote}
Music Type/Genre: ${music_type_genre}
Favorite Movie: ${favorites_movie}
Favorite Game: ${favorites_game}
Favorite Game Platform: ${favorites_game_platform}
Favorite Artist: ${favorites_artist}