BBOSS框架。从前台传到后台的时候,參数要以这样的方式:

public String initAddOrModExtendUser(HttpServletRequest request,

            @RequestParam (name = "act") String act,HttpServletResponse response,

            ExtendUserDO extendUserDO){}

当中@RequestParam(name = "act") String act,就是參数。

而不能直接用String userName传递參数。

public boolean login(HttpServletRequest request,

            HttpServletResponse response, String userName, String password,                      //错误

            boolean enablelog,String code) throws AccessException {}                                 
//错误

05-06 02:40