作者 tangxvhui

更新

@@ -459,13 +459,13 @@ func (c *OrderInfoController) GetOrderReal() { @@ -459,13 +459,13 @@ func (c *OrderInfoController) GetOrderReal() {
459 allGoods := []map[string]interface{}{} 459 allGoods := []map[string]interface{}{}
460 for _, v := range orderinfo.Goods { 460 for _, v := range orderinfo.Goods {
461 m := map[string]interface{}{ 461 m := map[string]interface{}{
462 - "productName": v.GoodName,  
463 - "orderNum": v.PlanGoodNumber,  
464 - "univalence": v.Price,  
465 - "partnerRatio": v.PartnerBonusPercent,  
466 - "amount": v.GoodCompute.PlanAmount,  
467 - "quantityControl": "",  
468 - "amountControl": "", 462 + "productName": v.GoodName,
  463 + "orderNum": v.PlanGoodNumber,
  464 + "univalence": v.Price,
  465 + "partnerRatio": v.PartnerBonusPercent,
  466 + "orderPrice": v.GoodCompute.PlanAmount,
  467 + "quantityControl": "",
  468 + "orderPriceControl": "",
469 } 469 }
470 if v.GoodCompute.UseAmount >= 0 { 470 if v.GoodCompute.UseAmount >= 0 {
471 m["priceControl"] = fmt.Sprint(v.GoodCompute.UseAmount) 471 m["priceControl"] = fmt.Sprint(v.GoodCompute.UseAmount)