jiangqs
2023-06-26 b4882b114f082e010d4cc3359d78d18095ef3b83
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);
    }