Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
L
library
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
stbz
library
Commits
a53b32c0
提交
a53b32c0
authored
6月 19, 2025
作者:
屈传平
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'featrue/yonghui'
上级
652bc253
a0195ee6
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
17 行增加
和
9 行删除
+17
-9
yonghui_msg.go
upstream/yonghui/yonghui_msg.go
+17
-9
没有找到文件。
upstream/yonghui/yonghui_msg.go
浏览文件 @
a53b32c0
...
@@ -21,14 +21,15 @@ type MsgPullRes struct {
...
@@ -21,14 +21,15 @@ type MsgPullRes struct {
Code
string
`json:"code"`
Code
string
`json:"code"`
Message
string
`json:"message"`
Message
string
`json:"message"`
Data
[]
struct
{
Data
[]
struct
{
Id
string
`json:"id"`
Id
int64
`json:"id"`
Type
string
`json:"type"`
Type
string
`json:"type"`
CreateTime
string
`json:"createTime"`
CreateTime
string
`json:"createTime"`
MessageInfo
string
`json:"messageInfo"`
MessageInfo
string
`json:"messageInfo"`
}
`json:"data"`
}
`json:"data"`
}
}
/**
/*
*
正向订单
正向订单
*/
*/
type
MsgOrder
struct
{
type
MsgOrder
struct
{
...
@@ -37,7 +38,8 @@ type MsgOrder struct {
...
@@ -37,7 +38,8 @@ type MsgOrder struct {
OrderStatus
string
`json:"orderStatus"`
OrderStatus
string
`json:"orderStatus"`
}
}
/**
/*
*
售后订单
售后订单
*/
*/
type
MsgOrderRefund
struct
{
type
MsgOrderRefund
struct
{
...
@@ -50,7 +52,8 @@ type MsgOrderRefund struct {
...
@@ -50,7 +52,8 @@ type MsgOrderRefund struct {
IsOffline
bool
`json:"isOffline"`
IsOffline
bool
`json:"isOffline"`
}
}
/**
/*
*
物流发货
物流发货
*/
*/
type
MsgLogistic
struct
{
type
MsgLogistic
struct
{
...
@@ -61,14 +64,16 @@ type MsgLogistic struct {
...
@@ -61,14 +64,16 @@ type MsgLogistic struct {
LogisticStatus
string
`json:"logisticStatus"`
LogisticStatus
string
`json:"logisticStatus"`
}
}
/**
/*
*
商品变更
商品变更
*/
*/
type
MsgGoodsChange
struct
{
type
MsgGoodsChange
struct
{
GoodsCode
string
`json:"goodsCode"`
GoodsCode
string
`json:"goodsCode"`
}
}
/**
/*
*
商品上下架
商品上下架
*/
*/
type
MsgGoodsShelves
struct
{
type
MsgGoodsShelves
struct
{
...
@@ -76,7 +81,8 @@ type MsgGoodsShelves struct {
...
@@ -76,7 +81,8 @@ type MsgGoodsShelves struct {
GoodsStatus
string
`json:"goodsStatus"`
GoodsStatus
string
`json:"goodsStatus"`
}
}
/**
/*
*
商品价格变更
商品价格变更
*/
*/
type
MsgGoodsPrice
struct
{
type
MsgGoodsPrice
struct
{
...
@@ -84,7 +90,8 @@ type MsgGoodsPrice struct {
...
@@ -84,7 +90,8 @@ type MsgGoodsPrice struct {
GoodsPrice
string
`json:"goodsPrice"`
GoodsPrice
string
`json:"goodsPrice"`
}
}
/**
/*
*
消息拉取
消息拉取
*/
*/
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
)
{
...
@@ -107,7 +114,8 @@ type MsgRemoveRes struct {
...
@@ -107,7 +114,8 @@ type MsgRemoveRes struct {
Data
string
`json:"data"`
Data
string
`json:"data"`
}
}
/**
/*
*
删除消息
删除消息
*/
*/
func
(
s
*
msg
)
Remove
(
ctx
context
.
Context
,
req
*
MsgRemoveReq
)
(
res
*
MsgRemoveRes
,
err
error
)
{
func
(
s
*
msg
)
Remove
(
ctx
context
.
Context
,
req
*
MsgRemoveReq
)
(
res
*
MsgRemoveRes
,
err
error
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论