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) } }