Commit f14d7d8f by 孙龙

up

parent f1eb5c46
......@@ -8,6 +8,7 @@ import (
)
type DataParams struct {
InterfaceType string `json:"interface_type"`
AccessUrl string `json:"access_url"`
......@@ -30,7 +31,7 @@ func AddMsgtoRbmq(msg string){
"ichunt_monitor_user_behavior",
"ichunt_monitor_behavior",
"direct",
"amqp://guest:guest@192.168.2.232:5672/",
"amqp://huntmouser:jy2y2900@172.18.137.23:5672/",
}
rbmqMsg := &DataParams{
......
......@@ -74,10 +74,10 @@ func main() {
t := &RecvPro{}
rabbitmq.Recv(rabbitmq.QueueExchange{
"api_service_log",
"api_service_log",
"sz_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)
}
\ 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