提交 bbc98451 authored 作者: zhanglibo's avatar zhanglibo

注释

上级 6824a4cb
...@@ -33,7 +33,7 @@ const ( ...@@ -33,7 +33,7 @@ const (
ProductExpire = 101 //商品下架 ProductExpire = 101 //商品下架
ProductModify = 102 //商品修改 ProductModify = 102 //商品修改
ProductPrice = 103 //价格变更 ProductPrice = 103 //价格变更
ProductRepost = 104 //商品商家 ProductRepost = 104 //商品上架
//订单消息 //订单消息
OrderSendgoods = 201 //订单发货 OrderSendgoods = 201 //订单发货
...@@ -183,7 +183,7 @@ func (p *NsqProducer) NotifyMessage(notifyMessage *NotifyMessage) (err error) { ...@@ -183,7 +183,7 @@ func (p *NsqProducer) NotifyMessage(notifyMessage *NotifyMessage) (err error) {
} }
notifyMessage.ID = gconv.Int(gconv.String(time.Now().UnixNano()/1e6) + randNums) notifyMessage.ID = gconv.Int(gconv.String(time.Now().UnixNano()/1e6) + randNums)
notifyMsg := NotifyTopic notifyMsg := NotifyTopic
if notifyMessage.AppID > 0 { if notifyMessage.AppID > 0 {
notifyMsg = SingleTopic notifyMsg = SingleTopic
} }
...@@ -194,7 +194,6 @@ func (p *NsqProducer) NotifyMessage(notifyMessage *NotifyMessage) (err error) { ...@@ -194,7 +194,6 @@ func (p *NsqProducer) NotifyMessage(notifyMessage *NotifyMessage) (err error) {
return return
} }
/* /*
api请求日志 20220310 gk api请求日志 20220310 gk
*/ */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论