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

yonghui

上级 0ddc622b
...@@ -10,13 +10,13 @@ var Msg = new(msg) ...@@ -10,13 +10,13 @@ var Msg = new(msg)
type msg struct { type msg struct {
} }
type msgPullReq struct { type MsgPullReq struct {
MessageType string `json:"messageType"` MessageType string `json:"messageType"`
PageNo string `json:"pageNo"` PageNo string `json:"pageNo"`
PageSize string `json:"pageSize"` PageSize string `json:"pageSize"`
} }
type msgPullRes struct { type MsgPullRes struct {
Success bool `json:"success"` Success bool `json:"success"`
Code string `json:"code"` Code string `json:"code"`
Message string `json:"message"` Message string `json:"message"`
...@@ -87,7 +87,7 @@ type MsgGoodsPrice struct { ...@@ -87,7 +87,7 @@ type MsgGoodsPrice struct {
/** /**
消息拉取 消息拉取
*/ */
func (s *msg) Pull(ctx context.Context, req *msgPullReq) (res *msgPullRes, err error) { func (s *msg) Pull(ctx context.Context, req *MsgPullReq) (res *MsgPullRes, err error) {
result, err := post(ctx, "com.csx.message-pull.do", req) result, err := post(ctx, "com.csx.message-pull.do", req)
if nil != err { if nil != err {
return return
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论