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
3edab69f
authored
Mar 09, 2026
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
humistor
parent
6696f4e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
model/ly_sku.go
service/service_ly_common.go
model/ly_sku.go
View file @
3edab69f
...
...
@@ -72,6 +72,7 @@ type LySku struct {
HasRohs
string
`json:"has_rohs"`
Series
string
`json:"series"`
Lifecycle
string
`json:"lifecycle"`
Humistor
string
`json:"humistor"`
AcType
int
`json:"ac_type"`
//活动信息
HasGiftActivity
int
`json:"has_gift_activity"`
...
...
service/service_ly_common.go
View file @
3edab69f
...
...
@@ -305,6 +305,7 @@ func (ls *LyService) CombineSup(sku model.LySku, spuStr string) model.LySku {
sku
.
HasRohs
=
gjson
.
Get
(
spuStr
,
"has_rohs"
)
.
String
()
sku
.
Series
=
gjson
.
Get
(
spuStr
,
"series"
)
.
String
()
sku
.
Lifecycle
=
gjson
.
Get
(
spuStr
,
"lifecycle"
)
.
String
()
sku
.
Humistor
=
gjson
.
Get
(
spuStr
,
"humistor"
)
.
String
()
return
sku
}
...
...
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