zhanglin8526
2023-05-10 5a90be65e184f9ccb4e8e50702a6cb838e622cc0
ruoyi-auth/src/main/java/com/ruoyi/auth/controller/QwH5Controller.java
@@ -71,8 +71,8 @@
    @GetMapping("/h5/getAgentConfig")
    @ApiOperation("通过code获取访问用户登录")
    public R<AgentConfigVo> getAgentConfig(@ApiParam(value = "url", required = true) String url) throws IOException {
        AgentConfigVo agentConfigVo = qywxInnerService.getAgentConfig(url);
    public R<AgentConfigVo> getAgentConfig(@ApiParam(value = "url", required = true) String url, @ApiParam(value = "type", required = false) String type) throws IOException {
        AgentConfigVo agentConfigVo = qywxInnerService.getAgentConfig(url, type);
        return R.ok(agentConfigVo);
    }