Showing
1 changed file
with
3 additions
and
2 deletions
@@ -6,6 +6,7 @@ import com.yohobuy.ufo.model.order.req.SellerOrderComputeReq; | @@ -6,6 +6,7 @@ import com.yohobuy.ufo.model.order.req.SellerOrderComputeReq; | ||
6 | import com.yohobuy.ufo.model.order.req.SellerOrderSubmitReq; | 6 | import com.yohobuy.ufo.model.order.req.SellerOrderSubmitReq; |
7 | import com.yohoufo.common.ApiResponse; | 7 | import com.yohoufo.common.ApiResponse; |
8 | import com.yohoufo.common.exception.GatewayException; | 8 | import com.yohoufo.common.exception.GatewayException; |
9 | +import com.yohoufo.order.model.response.OrderSubmitResp; | ||
9 | import com.yohoufo.order.service.handler.SellerOrderComputeHandler; | 10 | import com.yohoufo.order.service.handler.SellerOrderComputeHandler; |
10 | import com.yohoufo.order.service.impl.SellerOrderCancelService; | 11 | import com.yohoufo.order.service.impl.SellerOrderCancelService; |
11 | import com.yohoufo.order.service.impl.SellerOrderService; | 12 | import com.yohoufo.order.service.impl.SellerOrderService; |
@@ -71,8 +72,8 @@ public class SellerOrderController { | @@ -71,8 +72,8 @@ public class SellerOrderController { | ||
71 | .addressId(address_id) | 72 | .addressId(address_id) |
72 | .build(); | 73 | .build(); |
73 | logger.info("in ufo.sellerOrder.publishPrd, req {}", req); | 74 | logger.info("in ufo.sellerOrder.publishPrd, req {}", req); |
74 | - Long orderCode = sellerOrderService.publishPrd(req); | ||
75 | - return new ApiResponse.ApiResponseBuilder().data(orderCode).code(200).message("发布成功").build(); | 75 | + OrderSubmitResp resp = sellerOrderService.publishPrd(req); |
76 | + return new ApiResponse.ApiResponseBuilder().data(resp).code(200).message("发布成功").build(); | ||
76 | } | 77 | } |
77 | 78 | ||
78 | 79 |
-
Please register or login to post a comment