| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | |
| | | public void exportOrderDetail(HttpServletResponse response, OrderQueryDTO queryOrderDTO) { |
| | | orderService.exportOrderDetail(response, queryOrderDTO); |
| | | } |
| | | |
| | | @GetMapping("/time/now") |
| | | @ApiOperation(value = "订单导出") |
| | | public ResponseEntity<Long> getNowTime() { |
| | | return returnData(R.SUCCESS.getCode(),System.currentTimeMillis()); |
| | | } |
| | | |
| | | @GetMapping("/elk/date") |
| | | @ApiOperation(value = "订单日期刷新") |
| | | public ResponseEntity<Long> getElkDate() { |
| | | orderService.refreshDate(); |
| | | return returnData(R.SUCCESS.getCode(),System.currentTimeMillis()); |
| | | } |
| | | |
| | | } |