diff --git a/boot-starter/boot-starter-security/boot-starter-security-demo/src/main/resources/application.yml b/boot-starter/boot-starter-security/boot-starter-security-demo/src/main/resources/application.yml index 884ec3f..0da9850 100644 --- a/boot-starter/boot-starter-security/boot-starter-security-demo/src/main/resources/application.yml +++ b/boot-starter/boot-starter-security/boot-starter-security-demo/src/main/resources/application.yml @@ -7,7 +7,7 @@ spring: password: studyj2e driver-class-name: com.mysql.jdbc.Driver redis: - host: z3wg7.natappfree.cc + host: fthipw.natappfree.cc port: 6379 #security: # basic: diff --git a/boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/config/DataSourceMasterConfig.java b/boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/config/DataSourceMasterConfig.java index 56b99b2..1dd0882 100644 --- a/boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/config/DataSourceMasterConfig.java +++ b/boot-starter/boot-starter-ssm/src/main/java/com/micro/fast/common/config/DataSourceMasterConfig.java @@ -80,7 +80,7 @@ public class DataSourceMasterConfig { //设置能否重置 initParams.put("resetEnable", "false"); //deny优先于allow - initParams.put("allow", "127.0.0.1,172.17.0.1,3z3wg7.natappfree.cc,3z3wg7.natappfree.cc"); + initParams.put("allow", "127.0.0.1,172.17.0.1,fthipw.natappfree.cc,fthipw.natappfree.cc"); //initParams.put("deny","213.122.232.233"); if (logger.isInfoEnabled()) { logger.info("micro-fast common druidServletParam使用默认的配置"); diff --git a/ms-web/build/webpack.dev.conf.js b/ms-web/build/webpack.dev.conf.js index ed1b6c4..055ca67 100644 --- a/ms-web/build/webpack.dev.conf.js +++ b/ms-web/build/webpack.dev.conf.js @@ -20,7 +20,7 @@ const devWebpackConfig = merge(baseWebpackConfig, { // these devServer options should be customized in /config/index.js devServer: { - public: '3z3wg7.natappfree.cc', + public: 'fthipw.natappfree.cc', clientLogLevel: 'warning', historyApiFallback: true, hot: true, diff --git a/ms-web/src/components/SignIn.vue b/ms-web/src/components/SignIn.vue index cadeb42..dfdf85f 100644 --- a/ms-web/src/components/SignIn.vue +++ b/ms-web/src/components/SignIn.vue @@ -19,7 +19,7 @@ - + @@ -41,7 +41,7 @@ }, methods: { signIn: function () { - this.$http.post('http://3z3wg7.natappfree.cc:10006/upms/user/login',this.data,{method: "post"}) + this.$http.post('http://fthipw.natappfree.cc:10006/upms/user/login',this.data,{method: "post"}) .then(response => { console.log(response.data) }) diff --git a/ms/cms/src/main/resources/bootstrap.yml b/ms/cms/src/main/resources/bootstrap.yml index b285052..64b3ea4 100644 --- a/ms/cms/src/main/resources/bootstrap.yml +++ b/ms/cms/src/main/resources/bootstrap.yml @@ -13,6 +13,6 @@ spring: eureka: client: serviceUrl: - defaultZone: http://micro:fast@3z3wg7.natappfree.cc:10002/eureka/,http://micro:fast@3z3wg7.natappfree.cc:10004/eureka/ #配置所有的注册中心 + defaultZone: http://micro:fast@www.register1.com:10002/eureka/,http://micro:fast@www.register2.com:10004/eureka/ #配置所有的注册中心 instance: hostname: www.cms.com \ No newline at end of file diff --git a/ms/gateway/src/main/resources/bootstrap.yml b/ms/gateway/src/main/resources/bootstrap.yml index c6d0a3f..f15da69 100644 --- a/ms/gateway/src/main/resources/bootstrap.yml +++ b/ms/gateway/src/main/resources/bootstrap.yml @@ -15,7 +15,7 @@ eureka: serviceUrl: defaultZone: http://micro:fast@www.register1.com:10002/eureka/,http://micro:fast@www.register2.com:10004/eureka/ #配置所有的注册中心 instance: - hostname: 3z3wg7.natappfree.cc + hostname: fthipw.natappfree.cc diff --git a/ms/register-center1/src/main/resources/bootstrap.yml b/ms/register-center1/src/main/resources/bootstrap.yml index 83bf81b..61e2980 100644 --- a/ms/register-center1/src/main/resources/bootstrap.yml +++ b/ms/register-center1/src/main/resources/bootstrap.yml @@ -11,4 +11,5 @@ eureka: service-url: defaultZone: http://micro:fast@www.register2.com:10004/eureka #和其他注册中心连接 instance: - hostname: www.register1.com \ No newline at end of file + hostname: www.register1.com +