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

关于 request url 是常量的问题 #38

Closed
superleeyom opened this issue Jan 14, 2022 · 1 comment
Closed

关于 request url 是常量的问题 #38

superleeyom opened this issue Jan 14, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@superleeyom
Copy link

如果我的 controller 里面的 url 如下写法抽离到常量中:

@GetMapping(Url.Factor.ACCT_BP_FACTOR)
public ApiResponse<BpFactorUpdateVO> getAcctBp(String finAccountId){

}

点击🚀,无法读取里实际的 url,直接原封不动的取到常量原值
image

虽然有 url replace config,但是对于这种似乎不太适用,不可能把所有的录入,idea plugin sdk 是无法读取到对应常量的实际值吗?

public interface Url {
    interface Factor {
        String ACCT_BP_FACTOR =  "xxx";
    }
}
@kings1990
Copy link
Member

kings1990 commented Jan 17, 2022

Will be improved in V2.1.2

@kings1990 kings1990 added the enhancement New feature or request label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants