...
|
...
|
@@ -92,12 +92,9 @@ public class ExpressInfoController { |
|
|
@RequestMapping(params = "method=ufo.order.appraiseAddress")
|
|
|
public ApiResponse queryAppraiseAddress(@RequestParam("uid") Integer uid,
|
|
|
@RequestParam(value="skup", required=false)Integer skup,
|
|
|
// from version 6.9.3
|
|
|
@RequestParam(value="orderCode", required=false)Long orderCode) {
|
|
|
LOG.info("method=ufo.order.appraiseAddress in, uid is {}, skup is {} orderCode {}", uid, skup, orderCode);
|
|
|
if (Objects.isNull(uid)) {
|
|
|
throw new ServiceException(ServiceError.ORDER_REQUEST_PARM_IS_EMPTY);
|
|
|
}
|
|
|
// orderCode 6.9.3版本新增,6.9.10版本为必填项
|
|
|
throwServiceExceptionIf(Objects.isNull(orderCode),500,"请升级至最新版本");
|
|
|
AppraiseAddressResp appraiseAddressResp = expressInfoService.queryAppraiseAddress(uid, orderCode, skup);
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(appraiseAddressResp).build();
|
...
|
...
|
|