Quellcode durchsuchen

5/17 修改支付回调路径

lwhhszx vor 1 Jahr
Ursprung
Commit
81d3c79773

+ 1 - 1
src/main/java/com/example/xiaoshiweixinback/business/config/ElasticSearchClientConfig.java

@@ -48,7 +48,7 @@ private String config;
         public ElasticsearchClient elasticsearchClient() throws Exception {
             RestClientBuilder builder = RestClient.builder(new HttpHost(config, 9200, "http"));
             CredentialsProvider credentialsProvider = new BasicCredentialsProvider();
-            credentialsProvider.setCredentials(AuthScope.ANY, new UsernamePasswordCredentials("elastic", "Xiaoshi221101"));
+            credentialsProvider.setCredentials(AuthScope.ANY, new UsernamePasswordCredentials("elastic", "xiaoshi221101"));
             SSLContext sslContext = SSLContextBuilder.create()
                     .loadTrustMaterial(new TrustSelfSignedStrategy())
                     .build();

+ 6 - 5
src/main/resources/application-dev.yml

@@ -61,13 +61,14 @@ spring:
     #初始化表结构
     jdbc:
       initialize-schema: always
-authorUrl: http://localhost:8871
 PCSUrl: http://localhost:8871
+#OPSUrl: http://192.168.1.24:5001
 OPSUrl: http://139.224.24.90:5001
-#OPSUrl: http://139.224.24.90:5001
 PASUrl: http://localhost:8877
+RMSUrl: http://localhost:8872
 FMSUrl: http://localhost:8802
 VectorUrl: http://139.224.24.90:8000
+authorUrl: http://localhost:8871
 FileSource: 5
 
 ##################  短信 ####################
@@ -84,6 +85,6 @@ WeChat:
 Keypath: C:\Users\admin\Desktop\小程序证书\1673179188_20240408_cert\apiclient_key.pem
 queueName: emailProd.queue
 ES:
-  patentVector: patent_vector
-  patent: wxpatent
-  config: es-cn-em93o8856000ho9e7.public.elasticsearch.aliyuncs.com
+  patentVector: cn_patent_vector_v4
+  patent: cn_weixin_patent_v3
+  config: 192.168.2.24

+ 0 - 3
src/main/resources/application.yml

@@ -58,6 +58,3 @@ WeChat:
   appId: wxaefb842bd0b93ff0
   appSecret: 89fe0fb96472548d48f63b2f5c956537
 
-ES:
-  patentVector: patentVector
-  patent: weixinpatent