...
|
...
|
@@ -67,10 +67,10 @@ public class BuyerOrderController { |
|
|
public ApiResponse confirmReceive(BuyerOrderReq req) {
|
|
|
LOGGER.info("confirmReceive in. req is {}", req);
|
|
|
JSONObject result = buyerOrderService.confirmReceive(req);
|
|
|
if(result.getIntValue("code") == 200) {
|
|
|
if(result!=null&&result.getIntValue("code") == 200) {
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("确认收货成功").build();
|
|
|
}else {
|
|
|
return new ApiResponse.ApiResponseBuilder().code(500).message(result.getString("message")).build();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(500).message(result==null?"确认收货失败":result.getString("message")).build();
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|