Commit c32e1a8b authored by jiaorz's avatar jiaorz

活动记录

parent a461742d
...@@ -75,9 +75,13 @@ public class AuthController { ...@@ -75,9 +75,13 @@ public class AuthController {
return new ObjectRestResponse<>(); return new ObjectRestResponse<>();
} }
@RequestMapping(value = "/sendsms", method = RequestMethod.POST) @RequestMapping(value = "/sendsms", method = RequestMethod.POST)
public JSONObject sendsms(@RequestParam(value="username",defaultValue="")String username, @RequestParam(value="type",defaultValue="0")Integer type, String pointList)throws Exception{ public JSONObject sendsms(@RequestParam(value="username",defaultValue="")String username, @RequestParam(value="type",defaultValue="0")Integer type, String pointList, HttpServletRequest request)throws Exception{
log.info(username+"----require sendsms..."); log.info(username+"----require sendsms...");
return appAuthService.sendsms(username,type,pointList); String pointListParam=request.getParameter("pointList");
if (pointListParam == null) {
pointListParam = "";
}
return appAuthService.sendsms(username,type,pointListParam);
} }
@RequestMapping(value = "/register", method = RequestMethod.POST) @RequestMapping(value = "/register", method = RequestMethod.POST)
public JSONObject register(@RequestParam(value="username",defaultValue="")String username, public JSONObject register(@RequestParam(value="username",defaultValue="")String username,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment