Commit f14d7d8f by 孙龙

up

parent f1eb5c46
...@@ -8,6 +8,7 @@ import ( ...@@ -8,6 +8,7 @@ import (
) )
type DataParams struct { type DataParams struct {
InterfaceType string `json:"interface_type"` InterfaceType string `json:"interface_type"`
AccessUrl string `json:"access_url"` AccessUrl string `json:"access_url"`
...@@ -30,7 +31,7 @@ func AddMsgtoRbmq(msg string){ ...@@ -30,7 +31,7 @@ func AddMsgtoRbmq(msg string){
"ichunt_monitor_user_behavior", "ichunt_monitor_user_behavior",
"ichunt_monitor_behavior", "ichunt_monitor_behavior",
"direct", "direct",
"amqp://guest:guest@192.168.2.232:5672/", "amqp://huntmouser:jy2y2900@172.18.137.23:5672/",
} }
rbmqMsg := &DataParams{ rbmqMsg := &DataParams{
......
...@@ -74,10 +74,10 @@ func main() { ...@@ -74,10 +74,10 @@ func main() {
t := &RecvPro{} t := &RecvPro{}
rabbitmq.Recv(rabbitmq.QueueExchange{ rabbitmq.Recv(rabbitmq.QueueExchange{
"api_service_log", "sz_api_service_log",
"api_service_log", "sz_api_service_log",
"", "",
"", "",
"amqp://guest:guest@192.168.2.232:5672/", "amqp://WmsQue:EizM9I1TAxoO0tmzoOm@172.18.137.33:5672/",
},t,1) },t,1)
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment