@Controller
@RequestMapping(value="/{version}/bbs")
public class BBSResource
extends java.lang.Object
构造器和说明 |
---|
BBSResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
defaultLogin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String username,
java.lang.String password,
java.lang.String loginType) |
Response |
fastLogin(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
java.lang.String username,
int uid) |
@RequestMapping(value="/default/login", method=POST) @ResponseBody public Response defaultLogin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="username") java.lang.String username, @RequestParam(value="password") java.lang.String password, @RequestParam(value="loginType",required=false,defaultValue="default") java.lang.String loginType) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/fast/login", method=POST) @ResponseBody public Response fastLogin(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestParam(value="username") java.lang.String username, @RequestParam(value="uid") int uid) throws java.lang.Exception
java.lang.Exception