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
f70fcdfe
authored
Oct 14, 2025
by
hcy
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
自营交期 1-3工作日
parent
7ce618a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
service/service_zy.go
service/service_zy.go
View file @
f70fcdfe
...
...
@@ -133,7 +133,7 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx *gin.Context, goodsIds []string, ch c
A
.
Set
(
"packing"
,
gjson
.
Get
(
info
,
"packing"
)
.
Int
())
//
A
.
Set
(
"goods_unit"
,
gjson
.
Get
(
info
,
"goods_unit"
)
.
Int
())
//
A
.
Set
(
"goods_brief"
,
gjson
.
Get
(
info
,
"goods_brief"
)
.
String
())
//
A
.
Set
(
"ability_level"
,
2
)
A
.
Set
(
"ability_level"
,
2
)
moq
:=
gjson
.
Get
(
info
,
"moq"
)
.
Int
()
mpq
:=
gjson
.
Get
(
info
,
"mpq"
)
.
Int
()
...
...
@@ -178,11 +178,11 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx *gin.Context, goodsIds []string, ch c
A
.
Set
(
"self_supplier_type"
,
gjson
.
Get
(
info
,
"self_supplier_type"
)
.
Int
())
//
//处理货期
cnDeliveryTime
:=
gjson
.
Get
(
info
,
"cn_delivery_time"
)
.
String
()
if
cnDeliveryTime
==
""
{
cnDeliveryTime
=
"3-7工作日"
}
A
.
Set
(
"cn_delivery_time"
,
cnDeliveryTime
)
// 货期
//
cnDeliveryTime := gjson.Get(info, "cn_delivery_time").String()
//
if cnDeliveryTime == "" {
//
cnDeliveryTime = "3-7工作日"
//
}
A
.
Set
(
"cn_delivery_time"
,
"1-3工作日"
)
// 货期
//查询品牌名称(作废,现在改成读联营的品牌库,之前有关联自营商品到spu_id)
brand_id
:=
gjson
.
Get
(
info
,
"brand_id"
)
.
Int
()
...
...
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