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

Merge branch 'featrue/hdh'

...@@ -16,6 +16,7 @@ const ( ...@@ -16,6 +16,7 @@ const (
Ikc = 13 //爱库存 Ikc = 13 //爱库存
Dwd = 14 //好食期 Dwd = 14 //好食期
Itao = 15 //淘特 Itao = 15 //淘特
Hdh = 16 //会订货
) )
var ( var (
...@@ -80,6 +81,10 @@ func GetUpstreamList() (res interface{}, err error) { ...@@ -80,6 +81,10 @@ func GetUpstreamList() (res interface{}, err error) {
"key": Itao, "key": Itao,
"name": GetUpstreamName(Itao), "name": GetUpstreamName(Itao),
}, },
g.Map{
"key": Hdh,
"name": GetUpstreamName(Hdh),
},
} }
return return
} }
...@@ -108,6 +113,8 @@ func GetUpstreamName(source int) string { ...@@ -108,6 +113,8 @@ func GetUpstreamName(source int) string {
return "华东一仓" return "华东一仓"
case Itao: case Itao:
return "淘宝" return "淘宝"
case Hdh:
return "会订货"
default: default:
return "未知来源" return "未知来源"
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论