作者 tangxvhui

bug 修复

@@ -463,14 +463,14 @@ func (c *OrderInfoController) GetOrderReal() { @@ -463,14 +463,14 @@ func (c *OrderInfoController) GetOrderReal() {
463 allGoods := []map[string]interface{}{} 463 allGoods := []map[string]interface{}{}
464 for _, v := range orderinfo.Goods { 464 for _, v := range orderinfo.Goods {
465 m := map[string]interface{}{ 465 m := map[string]interface{}{
466 - "id": v.Id,  
467 - "productName": v.GoodName,  
468 - "orderNum": v.PlanGoodNumber,  
469 - "univalence": v.Price,  
470 - "partnerRatio": v.PartnerBonusPercent,  
471 - "orderPrice": v.GoodCompute.PlanAmount,  
472 - "quantityControl": "",  
473 - "orderPriceControl": "", 466 + "id": v.Id,
  467 + "productName": v.GoodName,
  468 + "orderNum": v.PlanGoodNumber,
  469 + "univalence": v.Price,
  470 + "partnerRatio": v.PartnerBonusPercent,
  471 + "orderPrice": v.GoodCompute.PlanAmount,
  472 + "quantityControl": "",
  473 + "priceControl": "",
474 } 474 }
475 if v.GoodCompute.UseAmount >= 0 { 475 if v.GoodCompute.UseAmount >= 0 {
476 m["priceControl"] = fmt.Sprint(v.GoodCompute.UseAmount) 476 m["priceControl"] = fmt.Sprint(v.GoodCompute.UseAmount)