2019-08-26

package com.mrfcom.blog.controller;

import org.springframework.stereotype.Controller;

import org.springframework.web.bind.annotation.RequestMapping;

@Controller

public class TestController {

@RequestMapping("/")

private String index() {

return "index";

}

@RequestMapping("/test")

private String test() {

return "test";

}

@RequestMapping("/test2")

private String test2() {

return "test2";

}

@RequestMapping("/label")

private String label() {

return "label";

}

}

你可能感兴趣的:(2019-08-26)