whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.fgkj.controller;
 
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
 
/**
 * @Description : index
 * @date 2020/10/15
 **/
import javax.annotation.Resource;
 
@RequestMapping
@Controller
@Api(tags = "index接口")
@Deprecated
public class IndexController {
 
    @GetMapping("/")
    @ApiOperation(notes = "",value="index")
    public String index(HttpServletRequest request, HttpServletResponse response){
        return "index";
        /*try {
            response.sendRedirect("index.html");
        } catch (IOException e) {
            e.printStackTrace();
        }*/
 
    }
 
}