Merge branch 'test6.9.7' of http://git.yoho.cn/ufo/ufo-platform into test6.9.7
Showing
1 changed file
with
8 additions
and
0 deletions
@@ -1309,6 +1309,14 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon | @@ -1309,6 +1309,14 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon | ||
1309 | return jsonObject; | 1309 | return jsonObject; |
1310 | } | 1310 | } |
1311 | 1311 | ||
1312 | + /** | ||
1313 | + * 参数校验 | ||
1314 | + * 重复提交的校验 | ||
1315 | + * 根据订单的商品的region 判断是 走顺丰还是中通国际 | ||
1316 | + * | ||
1317 | + * @param req | ||
1318 | + * @return | ||
1319 | + */ | ||
1312 | private BuyerOrder checkForPlatformExpress(BuyerOrderReq req){ | 1320 | private BuyerOrder checkForPlatformExpress(BuyerOrderReq req){ |
1313 | if(StringUtils.isBlank(req.getOrderCode())) { | 1321 | if(StringUtils.isBlank(req.getOrderCode())) { |
1314 | throw new ServiceException(400,"错误:参数错误,订单号为空"); | 1322 | throw new ServiceException(400,"错误:参数错误,订单号为空"); |
-
Please register or login to post a comment