package com.liquidnet.service.platform.controller.goblin;


import com.liquidnet.service.base.ResponseDto;
import com.liquidnet.service.platform.service.impl.goblin.DMCheckGoblinOrderTimeImpl;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 订单 前端控制器
 * </p>
 *
 * @author liquidnet
 * @since 2021-05-20
 */
@Api(tags = "商城-订单相关")
@RestController
@RequestMapping("order/goblin")
@Validated
public class GoblinOrderTicketsController {

    @Autowired
    DMCheckGoblinOrderTimeImpl goblinCheckOrderTime;

//    @PostMapping("checkOrderTime")
//    @ApiOperation("订单过期脚本")
//    @ApiResponse(code = 200, message = "接口返回对象参数")
//    public ResponseDto<Boolean> checkOrderTime() {
//        return ResponseDto.success(goblinCheckOrderTime.checkOrderTime());
//    }
}
