Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
go_sku_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
15b4c66e
authored
Apr 17, 2024
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
商品类型字典修改
parent
b5e3a6f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
33 deletions
pkg/vars/sku.go
pkg/vars/sku.go
View file @
15b4c66e
package
vars
package
vars
//商品类型字段
// 商品类型字段
var
GoodsLabel
=
map
[
int
]
string
{
var
GoodsLabel
=
map
[
int
]
string
{
1
:
"国内现货"
,
1
:
"国内现货"
,
2
:
"猎芯期货"
,
2
:
"国际现货"
,
3
:
"国际现货"
,
3
:
"猎芯期货"
,
}
4
:
"询价现货"
,
}
//商品标签对应的展示
//1精选,2原厂直供,3认证,4当天发货
// 商品标签对应的展示
var
GoodsTags
=
map
[
int
]
string
{
// 1精选,2原厂直供,3认证,4当天发货
1
:
"精选"
,
var
GoodsTags
=
map
[
int
]
string
{
2
:
"原厂直供"
,
1
:
"精选"
,
3
:
"认证"
,
2
:
"原厂直供"
,
4
:
"当天发货"
,
3
:
"认证"
,
}
4
:
"当天发货"
,
}
var
StockInfoSupplierMap
=
map
[
int64
]
string
{
// 6: "element14",
var
StockInfoSupplierMap
=
map
[
int64
]
string
{
7
:
"digikey"
,
// 6: "element14",
// 14: "mouser",
7
:
"digikey"
,
// 21: "rs",
// 14: "mouser",
// 1672: "master",
// 21: "rs",
}
// 1672: "master",
}
var
StockInfoSupplierIds
=
[]
int64
{
// 6,
var
StockInfoSupplierIds
=
[]
int64
{
7
,
// 6,
// 14,
7
,
// 21,
// 14,
// 1672,
// 21,
}
// 1672,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment