Commit 46979a66 by Joneq

修改成notok进行报警测试

parent ea7b4b9e
......@@ -68,7 +68,7 @@ func ping(ctx *bm.Context) {
}
func hbsdata(c *bm.Context) {
c.Writer.Write([]byte("ok"))
c.Writer.Write([]byte("notok"))
}
// example for http request handler.
......
......@@ -5,6 +5,8 @@ import "github.com/streadway/amqp"
func SendSubmitOrderMqTOErp(content []byte)(err error) {
//链接mq
//amqp://huntmouser:jy2y2900@119.23.79.136:5672/
//amqp://guest:guest@192.168.2.232:5672/
conn, err := amqp.Dial("amqp://huntmouser:jy2y2900@119.23.79.136:5672/");
if err != nil {
......
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