Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分页response继承response没有加泛型导出接口文档响应部分没有内容 #1172

Open
xijiqz opened this issue Nov 13, 2024 · 2 comments
Labels
type: question&discussion Further information is requested wontfix This will not be worked on

Comments

@xijiqz
Copy link

xijiqz commented Nov 13, 2024

public class PageResponse extends Response{
private String msg = "success";

/**
 * 总数
 */
protected Long total;

/**
 * 当前页
 */
protected Long current;

/**
 * 列表结果
 */
private List<T> data;

}

必须要手动给response加上泛型

@xijiqz xijiqz added the type: question&discussion Further information is requested label Nov 13, 2024
@tangcent
Copy link
Owner

能给个API的示例吗?

Copy link
Contributor

github-actions bot commented Mar 3, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the wontfix This will not be worked on label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question&discussion Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants