Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
L
library
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
stbz
library
Commits
1e163392
提交
1e163392
authored
5月 28, 2025
作者:
屈传平
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
http://120.27.146.32:8888/stbz/library
上级
04fc35b7
448c871b
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
1 行删除
+6
-1
message.go
notify/message.go
+1
-1
cloud.go
upstream/cloud.go
+4
-0
upstream.go
upstream/upstream.go
+1
-0
没有找到文件。
notify/message.go
浏览文件 @
1e163392
...
@@ -71,7 +71,7 @@ const (
...
@@ -71,7 +71,7 @@ const (
//内部修改商品消息
//内部修改商品消息
GoodsSaleUpdate
=
10000
//修1改销量
GoodsSaleUpdate
=
10000
//修1改销量
GoodsStockUpdate
=
801
ErrMsgParamEmpty
=
"该类型消息对应字段不能为空"
ErrMsgParamEmpty
=
"该类型消息对应字段不能为空"
ErrMsgAppIDEmpty
=
"该类型消息appid字段不能为空"
ErrMsgAppIDEmpty
=
"该类型消息appid字段不能为空"
ErrMsgTpye
=
"错误的消息类型"
ErrMsgTpye
=
"错误的消息类型"
...
...
upstream/cloud.go
浏览文件 @
1e163392
...
@@ -27,6 +27,8 @@ const (
...
@@ -27,6 +27,8 @@ const (
CloudRefundSuccess
CloudMsgType
=
303
CloudRefundSuccess
CloudMsgType
=
303
//售后关闭
//售后关闭
CloudRefundClose
CloudMsgType
=
304
CloudRefundClose
CloudMsgType
=
304
CloudGoodsStock
CloudMsgType
=
801
)
)
// ToType ToType
// ToType ToType
...
@@ -50,6 +52,8 @@ func (c CloudMsgType) ToType() (int, error) {
...
@@ -50,6 +52,8 @@ func (c CloudMsgType) ToType() (int, error) {
return
RefundRefuse
,
nil
return
RefundRefuse
,
nil
case
CloudRefundSuccess
:
case
CloudRefundSuccess
:
return
RefundSuccess
,
nil
return
RefundSuccess
,
nil
case
CloudGoodsStock
:
return
ProductStockUpdate
,
nil
default
:
default
:
return
0
,
errors
.
New
(
"not allow type"
)
return
0
,
errors
.
New
(
"not allow type"
)
}
}
...
...
upstream/upstream.go
浏览文件 @
1e163392
...
@@ -42,6 +42,7 @@ var (
...
@@ -42,6 +42,7 @@ var (
RefundAgree
=
301
RefundAgree
=
301
RefundRefuse
=
302
RefundRefuse
=
302
RefundSuccess
=
303
RefundSuccess
=
303
ProductStockUpdate
=
801
)
)
func
GetUpstreamList
()
(
res
interface
{},
err
error
)
{
func
GetUpstreamList
()
(
res
interface
{},
err
error
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论