检测服务关闭~
This commit is contained in:
parent
3e6e85fd82
commit
05784b85fe
|
|
@ -160,6 +160,7 @@ func (w *WechatNotifyConsumer) processMessage(ctx context.Context, msg mq_http_s
|
|||
|
||||
// Stop 停止消息消费
|
||||
func (w *WechatNotifyConsumer) Stop(_ context.Context) error {
|
||||
|
||||
if !w.conf.WechatNotifyMQ.IsOpenConsumer {
|
||||
fmt.Println("关闭 wechat consumer 完成!")
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue