Kaynağa Gözat

放行查询一账通绑定接口

wangzhijun 1 hafta önce
ebeveyn
işleme
a25ac8a62a

+ 1 - 1
nightFragrance-framework/src/main/java/com/ylx/framework/config/SecurityConfig.java

@@ -113,7 +113,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
                         "/api/xiangmu/v1/getByid", "/api/xiangmu/v1/highlights", "/api/js/v1/wx/getByid", "/api/js/v1/wx/select", "/api/js/v1/wx/add", "/api/recharge/v1/test",
                         "/wx/pay/payNotify", "/wx/pay/refundNotify", "/weChat/getAccessToken","/weChat/phoneLogin","/weChat/sendMsg", "/weChat/getCode", "/weChat/verifyToken", "/sq/getAccessToken",
                         "/area/select", "/system/dept/list", "/api/xiangmu/v1/wx/recommend", "/product/category/create","/area/code","/area/city","/product/category/list",
-                        "/wx/pay/query/order/{outTradeNo}","/api/products/**","/api/user/point/**").permitAll()
+                        "/wx/pay/query/order/{outTradeNo}","/api/products/**","/api/user/point/**","/userCenter/userApp/queryBind").permitAll()
                 // 静态资源,可匿名访问
                 .antMatchers(HttpMethod.GET, "/", "/*.txt", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
                 .antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()

+ 1 - 1
nightFragrance-massage/src/main/java/com/ylx/usercenter/service/impl/UnifiedUserCenterServiceImpl.java

@@ -44,7 +44,7 @@ public class UnifiedUserCenterServiceImpl implements UnifiedUserCenterService {
     @Override
     public R<?> queryBind(UnifiedUserCenterDTO dto) {
         validateDto(dto);
-        dto.setClientId(clientId);
+//        dto.setClientId(clientId);
         // 只需要关注业务路径和日志描述即可
         return executePost(QUERY_BIND_PATH, dto, "查询用户绑定信息");
     }