Authored by qinchao

标题改为:物流详情

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