Ver código fonte

更新站点地址等配置文件内容

feix0518 1 semana atrás
pai
commit
8700d0c576

+ 7 - 7
xinkeaboard-server/b2b2c-core/src/main/java/com/slodon/b2b2c/core/config/DomainUrlUtil.java

@@ -25,12 +25,12 @@ public class DomainUrlUtil {
     /**
      * admin前端地址
      */
-    public static final String SLD_ADMIN_URL = "https://admin.b2btopsite.com";
+    public static final String SLD_ADMIN_URL = "http://54.46.9.88:81";
 
     /**
      * seller前端地址
      */
-    public static final String SLD_SELLER_URL = "https://seller.b2btopsite.com";
+    public static final String SLD_SELLER_URL = "http://54.46.9.88:82";
 
     /**
      * 移动端前端地址
@@ -39,12 +39,12 @@ public class DomainUrlUtil {
     /**
      * pc前端地址
      */
-    public static final String SLD_PC_URL = "https://www.b2btopsite.com";
+    public static final String SLD_PC_URL = "http://54.46.9.88";
 
     /**
      * minio图片资源的URL
      */
-    public static final String SLD_IMAGE_RESOURCES = "https://www.b2btopsite.com";
+    public static final String SLD_IMAGE_RESOURCES = "http://54.46.9.88";
 
     /**
      * 七牛云图片资源的URL
@@ -94,9 +94,9 @@ public class DomainUrlUtil {
      * redis 数据库 host 端口 数据库
      */
     public static final Integer SLD_REDIS_DATABASE = 2;
-    public static final String SLD_REDIS_HOST = "127.0.0.1";
+    public static final String SLD_REDIS_HOST = "54.46.9.88";
     public static final Integer SLD_REDIS_PORT = 6379;
-    public static final String SLD_REDIS_PASSWORD = "123456";
+    public static final String SLD_REDIS_PASSWORD = "4CJdgVb4";
 
     /**
      * mysql读库 用户名 密码
@@ -112,7 +112,7 @@ public class DomainUrlUtil {
     /**
      * mongodb uri
      */
-    public static final String SLD_MONGODB_URI = "mongodb://gp_mongo:gp_mongo@127.0.0.1:27017/b2b2c?authSource=b2b2c";
+    public static final String SLD_MONGODB_URI = "mongodb://dev:oJ6mZ2fY6aL3fS8yO8wF@54.46.9.88:27017/b2b2c?authSource=b2b2c";
 
     /**
      * 上传图片类型,1-公共上传,2-七牛云上传,3-腾讯云上传,4-阿里云上传

+ 4 - 5
xinkeaboard-server/b2b2c-web/src/main/resources/application-dev.yml

@@ -16,10 +16,10 @@ spring:
       max-request-size: 50MB
   data:
     mongodb:
-      uri: mongodb://gp_mongo:gp_mongo@127.0.0.1:27017/b2b2c
+      uri: mongodb://dev:oJ6mZ2fY6aL3fS8yO8wF@54.46.9.88:27017/b2b2c
 logging:
   file:
-    name: ../bbc/log/${spring.application.name}.log
+    name: ./log/${spring.application.name}.log
   level:
     com.slodon.b2b2c: debug
 slodon:
@@ -34,8 +34,7 @@ socketio:
   im:
     host: 0.0.0.0    #监听的ip
     port: 8112        #监听端口
-    # 设置最大每帧处理数据的长度,防止他人利用大数据来攻击服务器
-    maxFramePayloadLength: 1048576
+    # 设置最大每帧处理数据的长度,防止他人利用大数据来攻击服务器    maxFramePayloadLength: 1048576
     # 设置http交互最大内容长度
     maxHttpContentLength: 1048576
     # socket连接数大小(如只监听一个端口boss线程组为1即可)
@@ -53,4 +52,4 @@ socketio:
 geoip:
   static:
     city:
-      mmdb: /home/ec2-user/gpb2b/server/web-server/GeoLite2-City.mmdb
+      mmdb: /data/GeoLite2/GeoLite2-City.mmdb