fix
Helius
2021-11-12 d191055009c9482a703b23845a7df9c019deb134
fix
2 files modified
5 ■■■■■ changed files
zq-erp/src/main/java/com/matrix/config/MvcCoreConfig.java 1 ●●●● patch | view | raw | blame | history
zq-erp/src/main/java/com/matrix/system/app/action/ApiUsersAction.java 4 ●●●● patch | view | raw | blame | history
zq-erp/src/main/java/com/matrix/config/MvcCoreConfig.java
@@ -74,6 +74,7 @@
        registry.addInterceptor(hostInterceptor).addPathPatterns("/**/wxapi/**")
                .addPathPatterns("/api/common/wxLogin/**")
                .addPathPatterns("/api/common/bindUser")
                .addPathPatterns("/api/user/xcxloginOut/**")
                .excludePathPatterns("/wxCommon/wxapi/wxpayCallback")
                .excludePathPatterns("/wxCommon/wxapi/rechargeCallBack");
    }
zq-erp/src/main/java/com/matrix/system/app/action/ApiUsersAction.java
@@ -112,8 +112,8 @@
    }
    @ApiOperation(value = "小程序退出登陆", notes = "小程序退出登陆")
    @GetMapping(value = "/loginOut/{code}")
    public AjaxResult loginOut(HttpServletRequest request, String code) {
    @GetMapping(value = "/xcxloginOut/{code}")
    public AjaxResult xcxloginOut(HttpServletRequest request, String code) {
        SysUsers hasBind = sysUsersService.findByOpenId(code, HostInterceptor.getCompanyId());
        if (hasBind != null) {
            if(StrUtil.isNotBlank(hasBind.getOpenIds())) {