Browse Source

1.ipad端调整

master
huangjiajun 7 months ago
parent
commit
347e191e64
2 changed files with 1 additions and 6 deletions
  1. +0
    -3
      app/ipad/hdl/hdl_order_goods.go
  2. +1
    -3
      app/ipad/svc/svc_order.go

+ 0
- 3
app/ipad/hdl/hdl_order_goods.go View File

@@ -51,9 +51,6 @@ func OrderGoods(c *gin.Context) {
"goods_img": "", "goods_img": "",
"state": utils.IntToStr(v.State), "state": utils.IntToStr(v.State),
} }
if v.State == 4 {
tmp["state"] = "3"
}
// 商品主图 // 商品主图
if goodsMap[v.GoodsId].ImageList != "" { if goodsMap[v.GoodsId].ImageList != "" {
utils.Unserialize([]byte(goodsMap[v.GoodsId].ImageList), &tmpMap) utils.Unserialize([]byte(goodsMap[v.GoodsId].ImageList), &tmpMap)


+ 1
- 3
app/ipad/svc/svc_order.go View File

@@ -38,9 +38,7 @@ func Order(c *gin.Context) {
"state": utils.IntToStr(v.State), "state": utils.IntToStr(v.State),
"enterprise_name": enterpriseName, "enterprise_name": enterpriseName,
} }
if v.State == 2 {
tmp["state"] = "1"
}

list = append(list, tmp) list = append(list, tmp)
} }
} }


Loading…
Cancel
Save