From 347e191e64b982df310b4487d25e1d00be3f3fed Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 3 Apr 2024 09:20:08 +0800 Subject: [PATCH] =?UTF-8?q?1.ipad=E7=AB=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/ipad/hdl/hdl_order_goods.go | 3 --- app/ipad/svc/svc_order.go | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/ipad/hdl/hdl_order_goods.go b/app/ipad/hdl/hdl_order_goods.go index adaa0de..a43389e 100644 --- a/app/ipad/hdl/hdl_order_goods.go +++ b/app/ipad/hdl/hdl_order_goods.go @@ -51,9 +51,6 @@ func OrderGoods(c *gin.Context) { "goods_img": "", "state": utils.IntToStr(v.State), } - if v.State == 4 { - tmp["state"] = "3" - } // 商品主图 if goodsMap[v.GoodsId].ImageList != "" { utils.Unserialize([]byte(goodsMap[v.GoodsId].ImageList), &tmpMap) diff --git a/app/ipad/svc/svc_order.go b/app/ipad/svc/svc_order.go index b0f2ece..38c33c5 100644 --- a/app/ipad/svc/svc_order.go +++ b/app/ipad/svc/svc_order.go @@ -38,9 +38,7 @@ func Order(c *gin.Context) { "state": utils.IntToStr(v.State), "enterprise_name": enterpriseName, } - if v.State == 2 { - tmp["state"] = "1" - } + list = append(list, tmp) } }