From 1fdd20d57582055309cbba31ef5ad014750bb4d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 25 Mar 2020 18:28:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E8=B1=B9=E5=88=9B=E5=BB=BA=E5=95=86?= =?UTF-8?q?=E5=93=81=E8=BF=94=E5=9B=9Estruct=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/yinbaoapi/yinbaoapi.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/platformapi/yinbaoapi/yinbaoapi.go b/platformapi/yinbaoapi/yinbaoapi.go index a9390d98..70e083d6 100644 --- a/platformapi/yinbaoapi/yinbaoapi.go +++ b/platformapi/yinbaoapi/yinbaoapi.go @@ -133,17 +133,17 @@ type ProductInfoParam struct { } type AddProductInfoResult struct { - ID int `json:"id"` - UID int64 `json:"uid"` - UserID int `json:"userId"` - Name string `json:"name"` - Barcode string `json:"barcode"` - BuyPrice int `json:"buyPrice"` - SellPrice int `json:"sellPrice"` - Stock int `json:"stock"` - Pinyin string `json:"pinyin"` - Enable int `json:"enable"` - CreatedDatetime string `json:"createdDatetime"` + ID int `json:"id"` + UID int64 `json:"uid"` + UserID int `json:"userId"` + Name string `json:"name"` + Barcode string `json:"barcode"` + BuyPrice float64 `json:"buyPrice"` + SellPrice float64 `json:"sellPrice"` + Stock float64 `json:"stock"` + Pinyin string `json:"pinyin"` + Enable int `json:"enable"` + CreatedDatetime string `json:"createdDatetime"` } //新增商品