Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
L
library
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
stbz
library
Commits
892d47ba
提交
892d47ba
authored
8月 19, 2024
作者:
张立波
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
消息
上级
17691737
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
11 行增加
和
9 行删除
+11
-9
model.go
notify/model.go
+11
-9
没有找到文件。
notify/model.go
浏览文件 @
892d47ba
...
@@ -26,8 +26,8 @@ type NotifyGoodsData struct {
...
@@ -26,8 +26,8 @@ type NotifyGoodsData struct {
}
}
type
ThirdGoods
struct
{
type
ThirdGoods
struct
{
ThirdId
interface
{}
`json:"third_id"`
//三方商品id
ThirdId
interface
{}
`json:"third_id"`
//三方商品id
Skus
[]
int
`json:"skus,omitempty"`
//三方规格id
Skus
[]
int
`json:"skus,omitempty"`
//三方规格id
}
}
//通知消息系统
//通知消息系统
...
@@ -48,9 +48,10 @@ type GoodsMsgData struct {
...
@@ -48,9 +48,10 @@ type GoodsMsgData struct {
//通知客户订单消息
//通知客户订单消息
type
OrderMsgData
struct
{
type
OrderMsgData
struct
{
OrderSn
string
`json:"orderSn"`
//外部订单号
OrderSn
string
`json:"orderSn,omitempty"`
//外部订单号
Sku
uint
`json:"sku"`
Sku
uint
`json:"sku,omitempty"`
OrderGoodsSn
string
`json:"orderGoodsSn"`
//商品订单号
OrderGoodsSn
string
`json:"orderGoodsSn,omitempty"`
//商品订单号
Sn
string
`json:"sn,omitempty"`
//店铺订单号
}
}
//通知客户售后消息
//通知客户售后消息
...
@@ -79,13 +80,14 @@ type NotifyApiLog struct {
...
@@ -79,13 +80,14 @@ type NotifyApiLog struct {
ResponseBody
interface
{}
`json:"response_body"`
//响应参数
ResponseBody
interface
{}
`json:"response_body"`
//响应参数
Error
interface
{}
`json:"error"`
//错误信息
Error
interface
{}
`json:"error"`
//错误信息
}
}
//内部推送商品更新消息
//内部推送商品更新消息
type
NotifyGoodsUpdateServer
struct
{
type
NotifyGoodsUpdateServer
struct
{
Type
int
`json:"type"`
Type
int
`json:"type"`
MsgData
[]
GoodsData
`json:"msg_data"`
MsgData
[]
GoodsData
`json:"msg_data"`
MsgSendTime
int64
`json:"msg_send_time"`
MsgSendTime
int64
`json:"msg_send_time"`
}
}
type
GoodsData
struct
{
type
GoodsData
struct
{
GoodsId
int64
`json:"goods_id"`
GoodsId
int64
`json:"goods_id"`
RealSale
int64
`json:"real_sale"`
RealSale
int64
`json:"real_sale"`
}
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论