yjp hace 1 año
padre
commit
a47aaf32c2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      framework/core/infrastructure/message_queue/message_queue.go

+ 1 - 1
framework/core/infrastructure/message_queue/message_queue.go

@@ -42,7 +42,7 @@ func UnSubscribe(messageQueue common.MessageQueue, group string, topic string) e
 // 参数:
 // - queue: 消息队列
 // - topic: 主题
-// - data: 消息数据
+// - event: CloudEvent
 // 返回值:
 // - 错误
 func Publish(messageQueue common.MessageQueue, topic string, event *common.CloudEvent) error {