We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这个获取就会是空的 ,不知为何
The text was updated successfully, but these errors were encountered:
设置了吗?是否修改过demo?
Sorry, something went wrong.
private WxCpService wxCpService = new WxCpServiceImpl(); @Autowired private WxCpProperties wxCpProperties ; @RequestMapping("authorize") public void authorize(HttpServletRequest request, HttpServletResponse response) throws IOException, WxErrorException { WxCpDefaultConfigImpl config = new WxCpDefaultConfigImpl(); config.setCorpId(wxCpProperties.getCorpId()); config.setCorpSecret(wxCpProperties.getAppConfigs().get(0).getSecret()); config.setAgentId(wxCpProperties.getAppConfigs().get(0).getAgentId()); config.setToken(wxCpProperties.getAppConfigs().get(0).getToken()); config.setAesKey(wxCpProperties.getAppConfigs().get(0).getAesKey()); String redirectUri ="http://" +request.getServerName()+"/wx/cp/oauth2/getUserInfo"; 我通过这个来设置的。就行了 里面封装的太多了 如果有详细的教程就好了
不要每次请求时去设置参数,你参考demo的做法就不会有问题
demo我直接放到项目了 ,没有看到这块是怎么设置的
No branches or pull requests
这个获取就会是空的 ,不知为何
The text was updated successfully, but these errors were encountered: