@SetupBy(value=WendalSetup.class)
@IocBy(type=ComboIocProvider.class,args={"*js", "ioc/",
"*anno", "com.miracle.agile.framework","com.miracle.agile.business",
"*tx", // 锟斤拷锟斤拷锟斤拷锟斤拷 aop
"*async"})
@Modules(scanPackage=true)
public class MainModule {
}
这个是我入口的方法,有什么问题吗,那个路径的方法如何解决呢
@IocBean
@At("/sys/author/baseuser")
@Filters({ @By(type = PrivateFilter.class)})
public class BaseUserController {
private static final Log log = Logs.get();
@Inject
BaseUserService baseUserService;
@At("")
@Ok("beetl:/sys/author/UserList.jsp")
@RequiresAuthentication
public void index() {
}
@At("/login")
@Ok("json")
@SLog(tag = "Login", msg = "登录")
public String doLogin(@Param("username") String username, @Param("password") String password) {
BaseUser user =baseUserService.VerificationUserInfo(username, password);
if(CommonUtils.isEmpty(user)){
return "10";
}else{
UserBean userBean=baseUserService.doLogin(user.getUserid());
String string="";
}
return "00";
}