Authored by chenchao

update new words as tips

1 package com.yohoufo.order.service.support; 1 package com.yohoufo.order.service.support;
2 2
3 import com.google.common.collect.Lists; 3 import com.google.common.collect.Lists;
  4 +import com.yohobuy.ufo.model.order.constants.OrderDetailDesc;
4 import com.yohoufo.common.helper.ImageUrlAssist; 5 import com.yohoufo.common.helper.ImageUrlAssist;
5 import com.yohoufo.dal.order.model.SellerOrderGoods; 6 import com.yohoufo.dal.order.model.SellerOrderGoods;
6 import com.yohobuy.ufo.model.order.constants.OrderConstant; 7 import com.yohobuy.ufo.model.order.constants.OrderConstant;
@@ -128,12 +129,18 @@ public class ShoppingSupport { @@ -128,12 +129,18 @@ public class ShoppingSupport {
128 if (damagedPrice == null){ 129 if (damagedPrice == null){
129 return ""; 130 return "";
130 } 131 }
131 - StringBuilder damagesDesc = new StringBuilder();  
132 - damagesDesc.append(OrderConstant.DAMAGES_DESC);  
133 - damagesDesc.append(OrderConstant.MONEY_SIGN);  
134 - damagesDesc.append(damagedPrice);  
135 - damagesDesc.append(OrderConstant.MONEY_UNIT);  
136 - return damagesDesc.toString(); 132 + /*
  133 + 温馨提示:
  134 + 1.付款后,若卖家原因超时未发货或者商品查验未通过而导致交易失败,除了全额退款外,您还将获得卖家赔偿金¥xxxxx元;
  135 + 2.UFO平台的商品价格根据市场规律波动较大,请您按心理价位购买;
  136 + 3..UFO平台出售的商品多为卖家个人二手闲置物品,存在商品数量有限等情况,故不适用七日无理由退货。非商品质量问题平台不支持退换货服务,但买家可在平台上再次出售。
  137 + 具体退换货规则详见《买家须知》
  138 +
  139 + */
  140 + String damagesDesc =
  141 + new String(OrderDetailDesc.PaymentTips.DAMAGES_DESC.toCharArray());
  142 +
  143 + return String.format(damagesDesc, damagedPrice.toPlainString());
137 144
138 } 145 }
139 } 146 }