|
|
@ -18,15 +18,15 @@ import (
|
|
|
|
const (
|
|
|
|
const (
|
|
|
|
//DTM 服务地址
|
|
|
|
//DTM 服务地址
|
|
|
|
ConsulIp = "192.168.100.131"
|
|
|
|
ConsulIp = "192.168.100.131"
|
|
|
|
consulStr = "http://192.168.100.131:8500"
|
|
|
|
ConsulStr = "http://" + ConsulIp + ":8500"
|
|
|
|
consulReistStr = "192.168.100.131:8500"
|
|
|
|
ConsulReistStr = ConsulIp + ":8500"
|
|
|
|
DtmServer = "http://192.168.100.131:36789/api/dtmsvr"
|
|
|
|
DtmServer = "http://" + ConsulIp + ":36789/api/dtmsvr"
|
|
|
|
QSIp = "192.168.1.135"
|
|
|
|
QSIp = "192.168.1.135"
|
|
|
|
QSBusi = "http://192.168.1.135:6669" //注意本机IP
|
|
|
|
QSBusi = "http://" + QSIp + ":6669" //注意本机IP
|
|
|
|
productFileKey = "mysql-product"
|
|
|
|
ProductFileKey = "mysql-product"
|
|
|
|
tradeFileKey = "mysql-trade"
|
|
|
|
TradeFileKey = "mysql-trade"
|
|
|
|
userFileKey = "mysql-user"
|
|
|
|
UserFileKey = "mysql-user"
|
|
|
|
redisFileKey = "redis"
|
|
|
|
RedisFileKey = "redis"
|
|
|
|
QPS = 100
|
|
|
|
QPS = 100
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|