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
96302efd
authored
Jul 12, 2021
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
立创需求
parent
9aa0e50d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
model/ly_sku.go
model/ly_sku.go
View file @
96302efd
...
...
@@ -117,6 +117,10 @@ func InitSkuData(sku string) (data LySku) {
encoded
:=
gjson
.
Get
(
sku
,
"encoded"
)
.
String
()
data
.
Encoded
=
encoded
//加上紧急判断,如果是立创(L0001175)的商品,就修改内部编码
if
data
.
Canal
==
"L0001175"
{
data
.
Encoded
=
"10142-L"
}
batchSn
:=
gjson
.
Get
(
sku
,
"batch_sn"
)
.
String
()
data
.
BatchSn
=
batchSn
...
...
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