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
cbf0dbb5
authored
Jul 05, 2022
by
mushishixian
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/q578953158/go_sku_server
parents
2503d611
45c129cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
service/service_zy.go
service/service_zy.go
View file @
cbf0dbb5
...
@@ -115,8 +115,8 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx *gin.Context, goodsIds []string, ch c
...
@@ -115,8 +115,8 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx *gin.Context, goodsIds []string, ch c
standardBrand
=
ly
.
GetStandardBrand
(
brandId
)
standardBrand
=
ly
.
GetStandardBrand
(
brandId
)
}
}
A
.
Set
(
"brand_id"
,
brandId
)
A
.
Set
(
"brand_id
_spu
"
,
brandId
)
A
.
Set
(
"brand_name"
,
brandName
)
A
.
Set
(
"brand_name
_spu
"
,
brandName
)
A
.
Set
(
"standard_brand"
,
standardBrand
)
A
.
Set
(
"standard_brand"
,
standardBrand
)
A
.
Set
(
"class_id1"
,
classId1
)
//
A
.
Set
(
"class_id1"
,
classId1
)
//
...
@@ -170,9 +170,10 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx *gin.Context, goodsIds []string, ch c
...
@@ -170,9 +170,10 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx *gin.Context, goodsIds []string, ch c
A
.
Set
(
"cn_delivery_time"
,
cnDeliveryTime
)
// 货期
A
.
Set
(
"cn_delivery_time"
,
cnDeliveryTime
)
// 货期
//查询品牌名称(作废,现在改成读联营的品牌库,之前有关联自营商品到spu_id)
//查询品牌名称(作废,现在改成读联营的品牌库,之前有关联自营商品到spu_id)
// brand_id := gjson.Get(info, "brand_id").Int()
brand_id
:=
gjson
.
Get
(
info
,
"brand_id"
)
.
Int
()
// brand_info, _ := gredis.String(redisConn.Do("HGET", "Self_Brand", brand_id))
brand_info
,
_
:=
gredis
.
String
(
redisConn
.
Do
(
"HGET"
,
"Self_Brand"
,
brand_id
))
// A.Set("brand_name", gjson.Get(brand_info, "brand_name").String())
A
.
Set
(
"brand_name"
,
gjson
.
Get
(
brand_info
,
"brand_name"
)
.
String
())
A
.
Set
(
"brand_id"
,
brand_id
)
if
fast
!=
"1"
{
//不是快速查询
if
fast
!=
"1"
{
//不是快速查询
// 供应商名称
// 供应商名称
...
...
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