whycxzp
2022-08-09 57f2d2e696c5d46bae8149f824baefd73f4b5f46
src/main/java/com/whyc/controller/IndexController.java
@@ -1,5 +1,7 @@
package com.whyc.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -8,9 +10,11 @@
import java.io.IOException;
@Controller
@Api(tags = "index")
public class IndexController {
    @RequestMapping("/")
    @ApiOperation("默认跳转,无需调用")
    public void index(HttpServletResponse response, HttpServletRequest request){
        try {
            response.sendRedirect("/cad/index.html?n="+System.currentTimeMillis());