feat: ntrp逻辑变更 & 替换海报二维码

This commit is contained in:
2025-10-06 14:52:31 +08:00
parent f2e9d20094
commit 05b941613c
11 changed files with 430 additions and 207 deletions

View File

@@ -80,6 +80,11 @@ class CommentService {
async getReplies(req: { comment_id: number, page: number, pageSize: number }): Promise<ApiResponse<ReplyCommentResponse>> {
return httpService.post("/comments/replies", req, { showLoading: true });
}
// 获取评论的所有回复
async getCommentDetail(req: { comment_id: number }): Promise<ApiResponse<BaseComment>> {
return httpService.post("/comments/detail", req, { showLoading: true });
}
}
export default new CommentService();

View File

@@ -151,6 +151,18 @@ class GameDetailService {
showLoading: false
})
}
async getQrCodeUrl(req: { page: string, scene: string }): Promise<ApiResponse<{
qr_code_base64: string,
image_size: number,
page: string,
scene: string,
width: number
}>> {
return httpService.post('/user/generate_qrcode', req, {
showLoading: false
})
}
}
// 导出认证服务实例