From 1e3fbef7f793a53da679c1ff9dbe75815335bb2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Thu, 13 Oct 2022 16:06:23 +0800 Subject: [PATCH] - update cache --- api.product.cache.go | 13 +++++-------- const.go | 2 +- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/api.product.cache.go b/api.product.cache.go index 5964534..5092d37 100644 --- a/api.product.cache.go +++ b/api.product.cache.go @@ -12,14 +12,11 @@ type ApiProductCacheResponse struct { Code int `json:"code"` Message string `json:"message"` Data struct { - GoodsId string `json:"goods_id"` - ApiGoodsId int64 `json:"api_goods_id"` - GoodsName string `json:"goods_name"` - ClassificationName string `json:"classification_name"` - GoodsPrice float64 `json:"goods_price"` - GoodsStatus string `json:"goods_status"` - GoodsStatusDesc string `json:"goods_status_desc"` - PurchaseTips string `json:"purchase_tips"` + GoodsId uint `json:"goods_id"` + ApiGoodsId int64 `json:"api_goods_id"` + GoodsName string `json:"goods_name"` + GoodsPrice float64 `json:"goods_price"` + PurchaseTips string `json:"purchase_tips"` } `json:"data"` Time int `json:"time"` TraceId string `json:"trace_id"` diff --git a/const.go b/const.go index cb14098..4e94bcf 100644 --- a/const.go +++ b/const.go @@ -15,5 +15,5 @@ const ( const ( LogTable = "kashangwl" - Version = "1.0.29" + Version = "1.0.3" )