|
@@ -16,6 +16,7 @@ import com.fuint.repository.model.MtStaff;
|
|
|
import com.fuint.repository.model.MtUser;
|
|
|
import com.fuint.utils.StringUtil;
|
|
|
import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
@@ -52,6 +53,7 @@ public class MerchantOrderController extends BaseController {
|
|
|
/**
|
|
|
* 获取订单列表
|
|
|
*/
|
|
|
+ @ApiOperation(value = "获取订单列表")
|
|
|
@RequestMapping(value = "/list", method = RequestMethod.POST)
|
|
|
@CrossOrigin
|
|
|
public ResponseObject list(HttpServletRequest request, @RequestBody OrderListParam orderListParam) throws BusinessCheckException {
|
|
@@ -80,6 +82,7 @@ public class MerchantOrderController extends BaseController {
|
|
|
/**
|
|
|
* 获取订单详情
|
|
|
*/
|
|
|
+ @ApiOperation(value = "获取订单详情")
|
|
|
@RequestMapping(value = "/detail", method = RequestMethod.POST)
|
|
|
@CrossOrigin
|
|
|
public ResponseObject detail(HttpServletRequest request, @RequestBody OrderDetailParam orderDetailParam) throws BusinessCheckException {
|
|
@@ -103,6 +106,7 @@ public class MerchantOrderController extends BaseController {
|
|
|
/**
|
|
|
* 取消订单
|
|
|
*/
|
|
|
+ @ApiOperation(value = "取消订单")
|
|
|
@RequestMapping(value = "/cancel", method = RequestMethod.POST)
|
|
|
@CrossOrigin
|
|
|
public ResponseObject cancel(HttpServletRequest request, @RequestBody OrderDetailParam orderDetailParam) throws BusinessCheckException {
|