提交 a53b32c0 authored 作者: 屈传平's avatar 屈传平

Merge branch 'featrue/yonghui'

......@@ -21,14 +21,15 @@ type MsgPullRes struct {
Code string `json:"code"`
Message string `json:"message"`
Data []struct {
Id string `json:"id"`
Id int64 `json:"id"`
Type string `json:"type"`
CreateTime string `json:"createTime"`
MessageInfo string `json:"messageInfo"`
} `json:"data"`
}
/**
/*
*
正向订单
*/
type MsgOrder struct {
......@@ -37,7 +38,8 @@ type MsgOrder struct {
OrderStatus string `json:"orderStatus"`
}
/**
/*
*
售后订单
*/
type MsgOrderRefund struct {
......@@ -50,7 +52,8 @@ type MsgOrderRefund struct {
IsOffline bool `json:"isOffline"`
}
/**
/*
*
物流发货
*/
type MsgLogistic struct {
......@@ -61,14 +64,16 @@ type MsgLogistic struct {
LogisticStatus string `json:"logisticStatus"`
}
/**
/*
*
商品变更
*/
type MsgGoodsChange struct {
GoodsCode string `json:"goodsCode"`
}
/**
/*
*
商品上下架
*/
type MsgGoodsShelves struct {
......@@ -76,7 +81,8 @@ type MsgGoodsShelves struct {
GoodsStatus string `json:"goodsStatus"`
}
/**
/*
*
商品价格变更
*/
type MsgGoodsPrice struct {
......@@ -84,7 +90,8 @@ type MsgGoodsPrice struct {
GoodsPrice string `json:"goodsPrice"`
}
/**
/*
*
消息拉取
*/
func (s *msg) Pull(ctx context.Context, req *MsgPullReq) (res *MsgPullRes, err error) {
......@@ -107,7 +114,8 @@ type MsgRemoveRes struct {
Data string `json:"data"`
}
/**
/*
*
删除消息
*/
func (s *msg) Remove(ctx context.Context, req *MsgRemoveReq) (res *MsgRemoveRes, err error) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论