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

在原有接口方法调用上添加其他参数的方案? #264

Open
chaochaoQAQ opened this issue Jul 17, 2024 · 1 comment
Open

在原有接口方法调用上添加其他参数的方案? #264

chaochaoQAQ opened this issue Jul 17, 2024 · 1 comment
Labels
等待反馈(needs feedback) 这意味着需要来自发起者的反馈(This means that feedback from the author is required)

Comments

@chaochaoQAQ
Copy link

我现在使用的Blazor和WebApiClient联合开发前后端。我在Blazor的前端获取了当前浏览器客户端的IP,我希望在ApiFilterAttribute中能够拿到这个IP信息。请问应该如何获取?

@EzrealJ
Copy link
Collaborator

EzrealJ commented Jul 17, 2024

你是如何获取ip的,代码在哪一层运行,show一段代码

@EzrealJ EzrealJ added the 等待反馈(needs feedback) 这意味着需要来自发起者的反馈(This means that feedback from the author is required) label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
等待反馈(needs feedback) 这意味着需要来自发起者的反馈(This means that feedback from the author is required)
Projects
None yet
Development

No branches or pull requests

2 participants