@IocBean
@At("/testMvc")
public class TestMvc {
public static final Log log=Logs.get();
@At("/showParam/?")
public void showParam(int param){
log.info("param:"+param);
}
}
如果一次传入多个参数如何写?
@IocBean
@At("/testMvc")
public class TestMvc {
public static final Log log=Logs.get();
@At("/showParam/?/?")
public void showParam(int param,int param2){
log.info("param:"+param);
log.info("param2:"+param2);
}
}