public void configRoute(Routes me) {
me.add("/", IndexController.class, "/index");// 第三个参数为该Controller的视图存放路径
me.add("/login",DemoFind.class,"/login");
}
public class DemoFind extends Controller {
public void login(){
System.out.println("11111111");
return;
}
}
me.add("/", IndexController.class, "/index");// 第三个参数为该Controller的视图存放路径
me.add("/login",DemoFind.class,"/login");
}
public class DemoFind extends Controller {
public void login(){
System.out.println("11111111");
return;
}
}