...
|
...
|
@@ -2,20 +2,21 @@ package com.yohoufo.order.controller; |
|
|
|
|
|
|
|
|
import com.yohoufo.common.ApiResponse;
|
|
|
import com.yohoufo.order.request.OrderListRequest;
|
|
|
import com.yohoufo.order.request.ShoppingRequest;
|
|
|
import com.yohoufo.order.response.OrderSubmitResponse;
|
|
|
import com.yohoufo.order.response.ShoppingPaymentResponse;
|
|
|
import com.yohoufo.order.service.IBuyerOrderService;
|
|
|
import com.yohoufo.order.service.IShoppingService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping(value = "/shopping")
|
|
|
public class BuyerOrderController {
|
|
|
public class ShoppingController {
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
IBuyerOrderService buyerOrderService;
|
|
|
IShoppingService buyerOrderService;
|
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -47,23 +48,7 @@ public class BuyerOrderController { |
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(paymentResponse).message("提交订单SUCCESS").build();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* [购买]订单列表
|
|
|
* 1:
|
|
|
* 2:待付款
|
|
|
* 3:待发货
|
|
|
* 4:待收货
|
|
|
* 5:交易成功
|
|
|
* 7:交易失败
|
|
|
*/
|
|
|
@RequestMapping(params = "method=app.buyer.list")
|
|
|
@ResponseBody
|
|
|
public ApiResponse getMyOrders(@RequestParam("type") int type,
|
|
|
@RequestParam("uid") Integer uid,
|
|
|
@RequestParam(value = "page", required = false, defaultValue = "1") int page,
|
|
|
@RequestParam(value = "limit", required = false, defaultValue = "10") int limit) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|