Authored by qinchao

标题改为:物流详情

@@ -4,10 +4,10 @@ package com.yohoufo.common.constant; @@ -4,10 +4,10 @@ package com.yohoufo.common.constant;
4 * 物流发货方 4 * 物流发货方
5 */ 5 */
6 public enum EnumExpressSender { 6 public enum EnumExpressSender {
7 - seller("卖家物流", ExpressInfoConstant.EXPRESS_TYPE_1.intValue()),  
8 - yoho_to_buyer("有货平台物流", ExpressInfoConstant.EXPRESS_TYPE_2.intValue()),  
9 - yoho_to_seller_appraise_fail("有货平台物流", ExpressInfoConstant.EXPRESS_TYPE_3.intValue()),  
10 - yoho_to_seller_return_back("有货平台物流", ExpressInfoConstant.EXPRESS_TYPE_REBACK.intValue()),; 7 + seller("物流详情", ExpressInfoConstant.EXPRESS_TYPE_1.intValue()),
  8 + yoho_to_buyer("物流详情", ExpressInfoConstant.EXPRESS_TYPE_2.intValue()),
  9 + yoho_to_seller_appraise_fail("物流详情", ExpressInfoConstant.EXPRESS_TYPE_3.intValue()),
  10 + yoho_to_seller_return_back("物流详情", ExpressInfoConstant.EXPRESS_TYPE_REBACK.intValue()),;
11 11
12 12
13 private String name; 13 private String name;
@@ -265,12 +265,14 @@ public class ExpressInfoServiceImpl implements IExpressInfoService { @@ -265,12 +265,14 @@ public class ExpressInfoServiceImpl implements IExpressInfoService {
265 LOGGER.warn("queryExpressDetailInfo check order not match buyer , uid = {} ,order is {} ", orderCode ,JSON.toJSONString(buyerOrder) ); 265 LOGGER.warn("queryExpressDetailInfo check order not match buyer , uid = {} ,order is {} ", orderCode ,JSON.toJSONString(buyerOrder) );
266 throw new UfoServiceException(400,"订单物流不允许买家用户查询"); 266 throw new UfoServiceException(400,"订单物流不允许买家用户查询");
267 } 267 }
  268 + break;
268 case SELL: 269 case SELL:
269 if(!uid.equals(buyerOrder.getSellerUid())){ 270 if(!uid.equals(buyerOrder.getSellerUid())){
270 //验证是卖家 271 //验证是卖家
271 LOGGER.warn("queryExpressDetailInfo check order not match seller , uid = {} ,order is {} ", orderCode ,JSON.toJSONString(buyerOrder) ); 272 LOGGER.warn("queryExpressDetailInfo check order not match seller , uid = {} ,order is {} ", orderCode ,JSON.toJSONString(buyerOrder) );
272 throw new UfoServiceException(400,"订单物流不允许卖家用户查询"); 273 throw new UfoServiceException(400,"订单物流不允许卖家用户查询");
273 } 274 }
  275 + break;
274 } 276 }
275 } 277 }
276 278