// 修改兑换状态 @Post("changeOpStatus") public String changeOpStatus(final Invocation inv, @Param("id") final Integer id) { String res = actGuessGameConfService.changeOpStatus(id); if (res == null) { return "@json:" + "{\"status\":\"" + "1" + "\"}"; } else { return "@json:" + "{\"status\":\"" + "0" + "\",\"exchangeTime\":\"" + res + "\"}"; } }