Commit 699d1ab6 by mushishixian

bug

parent 4291b2f8
Showing with 1 additions and 0 deletions
...@@ -20,6 +20,7 @@ const TagZiyingSku = 4 ...@@ -20,6 +20,7 @@ const TagZiyingSku = 4
//获取Spu的属性 //获取Spu的属性
func (ts *TagsService) GetTags(skuId string) (goodsTags model.GoodsTag) { func (ts *TagsService) GetTags(skuId string) (goodsTags model.GoodsTag) {
redisCon := gredis.Conn("default_r") redisCon := gredis.Conn("default_r")
defer redisCon.Close()
goodsTagsStr, _ := redis.String(redisCon.Do("HGET", "goods_tag", skuId)) goodsTagsStr, _ := redis.String(redisCon.Do("HGET", "goods_tag", skuId))
goodsLabel := "" goodsLabel := ""
//goods_tag //goods_tag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment