/** * 发起签到 * * @param model * @return */ @RequestMapping( value = "launchSign", method = {RequestMethod.GET, RequestMethod.POST}) public @ResponseBody Object launchSign(HttpServletRequest request) { ResponseResult responseResult = new ResponseResult(); try { // 获取签到发布信息 JSONObject jsonLaunchSignInfo = JSON.parseObject( URLDecoder.decode( HttpRequestUtil.getInstance().getString("launchSignInfo"), "UTF-8")); String id = CommonUtil.GeneGUID(); jsonLaunchSignInfo.put("id", id); responseResult.setValue(id); signService.launchSign(jsonLaunchSignInfo); } catch (Exception e) { e.printStackTrace(); responseResult.setStatus(-1); } return responseResult; }