Forráskód Böngészése

迁移wx三个板块代码

吴树波 1 hete
szülő
commit
4e70d7a595
27 módosított fájl, 84 hozzáadás és 78 törlés
  1. 3 3
      fs-ad-api/src/main/java/com/fs/framework/config/ResourcesConfig.java
  2. 3 3
      fs-ai-api/src/main/java/com/fs/framework/config/ResourcesConfig.java
  3. 3 3
      fs-ai-call-task/src/main/java/com/fs/framework/config/ResourcesConfig.java
  4. 3 3
      fs-cid-workflow/src/main/java/com/fs/framework/config/ResourcesConfig.java
  5. 3 3
      fs-company-app/src/main/java/com/fs/core/config/ResourcesConfig.java
  6. 10 0
      fs-company/src/main/java/com/fs/company/controller/company/CompanyWxAccountController.java
  7. 3 3
      fs-doctor-app/src/main/java/com/fs/framework/config/ResourcesConfig.java
  8. 3 3
      fs-ipad-task/src/main/java/com/fs/framework/config/ResourcesConfig.java
  9. 3 3
      fs-live-app/src/main/java/com/fs/framework/config/ResourcesConfig.java
  10. 3 3
      fs-qw-api-msg/src/main/java/com/fs/framework/config/ResourcesConfig.java
  11. 3 3
      fs-qw-api/src/main/java/com/fs/framework/config/ResourcesConfig.java
  12. 3 3
      fs-qw-mq/src/main/java/com/fs/framework/config/ResourcesConfig.java
  13. 3 3
      fs-qw-task/src/main/java/com/fs/framework/config/ResourcesConfig.java
  14. 3 3
      fs-qw-voice/src/main/java/com/fs/framework/config/ResourcesConfig.java
  15. 3 3
      fs-qwhook-msg/src/main/java/com/fs/framework/config/ResourcesConfig.java
  16. 3 3
      fs-qwhook-sop/src/main/java/com/fs/framework/config/ResourcesConfig.java
  17. 3 3
      fs-qwhook/src/main/java/com/fs/framework/config/ResourcesConfig.java
  18. 3 3
      fs-redis/src/main/java/com/fs/framework/config/ResourcesConfig.java
  19. 3 3
      fs-repeat-api/src/main/java/com/fs/framework/config/ResourcesConfig.java
  20. 0 4
      fs-service/src/main/java/com/fs/company/domain/CompanyWxAccount.java
  21. 2 2
      fs-service/src/main/java/com/fs/company/service/impl/CompanyWxServiceImpl.java
  22. 3 3
      fs-store/src/main/java/com/fs/framework/config/ResourcesConfig.java
  23. 3 3
      fs-user-app-ai-chat/src/main/java/com/fs/framework/config/ResourcesConfig.java
  24. 3 3
      fs-user-app/src/main/java/com/fs/framework/config/ResourcesConfig.java
  25. 3 3
      fs-watch/src/main/java/com/fs/framework/config/ResourcesConfig.java
  26. 3 3
      fs-wx-api/src/main/java/com/fs/framework/config/ResourcesConfig.java
  27. 3 3
      fs-wx-task/src/main/java/com/fs/framework/config/ResourcesConfig.java

+ 3 - 3
fs-ad-api/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-ai-api/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-ai-call-task/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -39,7 +39,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -60,9 +60,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-cid-workflow/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -39,7 +39,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -60,9 +60,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-company-app/src/main/java/com/fs/core/config/ResourcesConfig.java

@@ -36,7 +36,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 自定义拦截规�?
+     * 自定义拦截规
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 设置访问源请求头
         // 设置访问源请求头
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 设置访问源请求方�?
+        // 设置访问源请求方
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 对接口配置跨域设�?
+        // 对接口配置跨域设
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 10 - 0
fs-company/src/main/java/com/fs/company/controller/company/CompanyWxAccountController.java

@@ -113,4 +113,14 @@ public class CompanyWxAccountController extends BaseController
     public R companyListAll(){
     public R companyListAll(){
         return R.ok().put("data", companyWxAccountService.companyListAllCompany(new CompanyUser()));
         return R.ok().put("data", companyWxAccountService.companyListAllCompany(new CompanyUser()));
     }
     }
+
+    /**
+     * 同步个微客户数据
+     */
+    @PreAuthorize("@ss.hasPermi('company:companyWx:edit')")
+    @GetMapping("/syncWx")
+    public R syncWx(@RequestParam("accountId") Long accountId){
+        companyWxAccountService.syncWx(accountId);
+        return R.ok();
+    }
 }
 }

+ 3 - 3
fs-doctor-app/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-ipad-task/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -39,7 +39,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -60,9 +60,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-live-app/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-qw-api-msg/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-qw-api/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-qw-mq/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-qw-task/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -39,7 +39,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -60,9 +60,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-qw-voice/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-qwhook-msg/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-qwhook-sop/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-qwhook/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-redis/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-repeat-api/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 0 - 4
fs-service/src/main/java/com/fs/company/domain/CompanyWxAccount.java

@@ -102,8 +102,4 @@ public class CompanyWxAccount extends BaseEntity
     @TableField(exist = false)
     @TableField(exist = false)
     private String companyUserName;
     private String companyUserName;
 
 
-    /**
-     * 微信备注(唯一)
-     */
-    private String wxRemark;
 }
 }

+ 2 - 2
fs-service/src/main/java/com/fs/company/service/impl/CompanyWxServiceImpl.java

@@ -150,9 +150,9 @@ public class CompanyWxServiceImpl extends ServiceImpl<CompanyWxAccountMapper, Co
     public int insertCompanyWxAccount(CompanyWxAccount companyWxAccount)
     public int insertCompanyWxAccount(CompanyWxAccount companyWxAccount)
     {
     {
         //校验添加微信前缀唯一性
         //校验添加微信前缀唯一性
-        CompanyWxAccount wxAccount = companyWxAccountMapper.selectCompanyWxAccountByWxRemark(companyWxAccount.getWxRemark());
+        CompanyWxAccount wxAccount = companyWxAccountMapper.selectOne(new QueryWrapper<CompanyWxAccount>().eq("wx_no", companyWxAccount.getWxNo()));
         if(null != wxAccount){
         if(null != wxAccount){
-            throw new RuntimeException("微信前缀已存在,请更换后重试");
+            throw new RuntimeException("微信已存在,请更换后重试");
         }
         }
         companyWxAccount.setCreateTime(DateUtils.getNowDate());
         companyWxAccount.setCreateTime(DateUtils.getNowDate());
         return companyWxAccountMapper.insertCompanyWxAccount(companyWxAccount);
         return companyWxAccountMapper.insertCompanyWxAccount(companyWxAccount);

+ 3 - 3
fs-store/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-user-app-ai-chat/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-user-app/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-watch/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -35,7 +35,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -56,9 +56,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-wx-api/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -39,7 +39,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -60,9 +60,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }

+ 3 - 3
fs-wx-task/src/main/java/com/fs/framework/config/ResourcesConfig.java

@@ -39,7 +39,7 @@ public class ResourcesConfig implements WebMvcConfigurer
     }
     }
 
 
     /**
     /**
-     * 鑷�畾涔夋嫤鎴��鍒?
+     * 鑷�畾涔夋嫤鎴��
      */
      */
     @Override
     @Override
     public void addInterceptors(InterceptorRegistry registry)
     public void addInterceptors(InterceptorRegistry registry)
@@ -60,9 +60,9 @@ public class ResourcesConfig implements WebMvcConfigurer
         config.addAllowedOriginPattern("*");
         config.addAllowedOriginPattern("*");
         // 璁剧疆璁块棶婧愯�姹傚ご
         // 璁剧疆璁块棶婧愯�姹傚ご
         config.addAllowedHeader("*");
         config.addAllowedHeader("*");
-        // 璁剧疆璁块棶婧愯�姹傛柟娉?
+        // 璁剧疆璁块棶婧愯�姹傛柟
         config.addAllowedMethod("*");
         config.addAllowedMethod("*");
-        // 瀵规帴鍙i厤缃�法鍩熻�缃?
+        // 瀵规帴鍙i厤缃�法鍩熻�
         source.registerCorsConfiguration("/**", config);
         source.registerCorsConfiguration("/**", config);
         return new CorsFilter(source);
         return new CorsFilter(source);
     }
     }