From 6ea24cae9839d6b7ab2c50ba62812fe4feabe64c Mon Sep 17 00:00:00 2001 From: shenzhuan Date: Thu, 10 Nov 2022 13:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=85=B1=E5=9C=B0=E5=9D=80=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E5=90=8D=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config.go b/config.go index cc3c880..cd5fea7 100644 --- a/config.go +++ b/config.go @@ -18,15 +18,15 @@ import ( const ( //DTM 服务地址 ConsulIp = "192.168.100.131" - consulStr = "http://192.168.100.131:8500" - consulReistStr = "192.168.100.131:8500" - DtmServer = "http://192.168.100.131:36789/api/dtmsvr" + ConsulStr = "http://" + ConsulIp + ":8500" + ConsulReistStr = ConsulIp + ":8500" + DtmServer = "http://" + ConsulIp + ":36789/api/dtmsvr" QSIp = "192.168.1.135" - QSBusi = "http://192.168.1.135:6669" //注意本机IP - productFileKey = "mysql-product" - tradeFileKey = "mysql-trade" - userFileKey = "mysql-user" - redisFileKey = "redis" + QSBusi = "http://" + QSIp + ":6669" //注意本机IP + ProductFileKey = "mysql-product" + TradeFileKey = "mysql-trade" + UserFileKey = "mysql-user" + RedisFileKey = "redis" QPS = 100 )