Commit e5c9aedd by 孙龙

up

parent f14d7d8f
Showing with 1 additions and 2 deletions
......@@ -5,7 +5,6 @@ import (
"fmt"
"github.com/ichunt2019/golang-rbmq-sl/utils/rabbitmq"
"go-queue-server/dal/db"
api_service_log "go-queue-server/pyMonit/api-service-log"
_ "sync"
_ "time"
)
......@@ -23,7 +22,7 @@ type RecvPro struct {
//// 实现消费者 消费消息失败 自动进入延时尝试 尝试3次之后入库db
func (t *RecvPro) Consumer(dataByte []byte) error {
fmt.Println(string(dataByte))
api_service_log.AddMsgtoRbmq(string(dataByte))
//api_service_log.AddMsgtoRbmq(string(dataByte))
return 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