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

关于插件返回值的问题 #1072

Open
gghxjava opened this issue Nov 16, 2023 · 2 comments
Open

关于插件返回值的问题 #1072

gghxjava opened this issue Nov 16, 2023 · 2 comments
Labels
status: feedback required feedback required type: question&discussion Further information is requested wontfix This will not be worked on

Comments

@gghxjava
Copy link

大佬我发现我们的返回值永远是json,这是为什么

    @GetMapping("/getJsonWithResponseBodyString")
    public String getJsonWithResponseBodyString() {
        return "home.html";
    }

这种的 ,或者我返回的是一个文件,为什么只有json ,我先知道一下您的考虑

@gghxjava gghxjava added the type: question&discussion Further information is requested label Nov 16, 2023
@tangcent
Copy link
Owner

没有特殊考虑,纯粹是我用到的场景一直是返回json
对于你提供的这个接口,怎么让插件知道返回的不是"home.html"而是文件呢?

@tangcent tangcent added the status: feedback required feedback required label Nov 18, 2023
Copy link

stale bot commented Dec 15, 2023

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.

@stale stale bot added the wontfix This will not be worked on label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: feedback required feedback required 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