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 )