修改内网穿透ip
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
+1
-1
@@ -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使用默认的配置");
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<el-input v-model="imageCode" size="small" placeholder="验证码"></el-input>
|
||||
</el-col>
|
||||
<el-col :sm="3" :md="5" :lg="3" :xl="2">
|
||||
<img src="http://3z3wg7.natappfree.cc:10006/upms/code/image?width=67&height=30" class="image-code" />
|
||||
<img src="http://fthipw.natappfree.cc:10006/upms/code/image?width=67&height=30" class="image-code" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row type="flex" justify="center" class="row-line">
|
||||
@@ -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)
|
||||
})
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -11,4 +11,5 @@ eureka:
|
||||
service-url:
|
||||
defaultZone: http://micro:fast@www.register2.com:10004/eureka #和其他注册中心连接
|
||||
instance:
|
||||
hostname: www.register1.com
|
||||
hostname: www.register1.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user