You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
webcrawler/web/src/main/java/web/controller/AdminController.java

33 lines
665 B

package web.controller;
import core.util.DBAction;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* Created by reborn on 2017/9/14.
*/
@Controller
public class AdminController extends BaseController{
@RequestMapping({"index"})
private String index(){
log.info("进入首页");
return "index";
}
@RequestMapping("test")
private String test(){
return "test";
}
@RequestMapping("test2")
private String test2(){
return "test2";
}
@Override
public boolean checkAction(DBAction action) {
return true;
}
}