@Test public void testQueryAllMessageSize() throws Exception { JSONObject jsonObject = messageController.queryAllMessageSize(); System.out.println(jsonObject); }
@ApiOperation(value = "queryAllMessageSize", notes = "查询所有的消息未读取消息数", responseContainer = "{object.put(\"0\", 20); " object.put(\"1\", 10); " object.put(\"2\", 0); @RequestMapping(value = "/query/count", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryAllMessageSize() { return success(messageService.queryAllMessageSize(getUserId())); }
MessageController extends BaseController { @ApiOperation(value = "queryAllMessageSize", notes = "查询所有的消息未读取消息数", responseContainer = "{object.put(\"0\", 20); " object.put(\"1\", 10); " object.put(\"2\", 0); @RequestMapping(value = "/query/count", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryAllMessageSize() { return success(messageService.queryAllMessageSize(getUserId())); } }
MessageController extends BaseController { @ApiOperation(value = "queryAllMessageSize", notes = "查询所有的消息未读取消息数", responseContainer = "{object.put(\"0\", 20); " object.put(\"1\", 10); " object.put(\"2\", 0); @RequestMapping(value = "/query/count", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryAllMessageSize() { return success(messageService.queryAllMessageSize(getUserId())); }  }
MessageController extends BaseController { @ApiOperation(value = "queryAllMessageSize", notes = "查询所有的消息未读取消息数", responseContainer = "{object.put(\"0\", 20); " object.put(\"1\", 10); " object.put(\"2\", 0); @RequestMapping(value = "/query/count", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryAllMessageSize() { return success(messageService.queryAllMessageSize(getUserId())); }  @ApiOperation(value = "queryAllMessageSize", notes = "查询所有的消息未读取消息数", responseContainer = "{object.put(\"0\", 20);//系统消息\n" + " object.put(\"1\", 10);//中奖消息\n" + " object.put(\"2\", 0);//发货消息}") @RequestMapping(value = "/query/count", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryAllMessageSize(); @ApiOperation(value = "消息列表查询", notes = "支持分页查询", responseContainer = "{title:标题,id:'1000',content:'内容',date:'日期'}", code = 200, produces = "application/json") @ApiImplicitParams({ @ApiImplicitParam(paramType = "query", name = "typeid", dataType = "int", required = true), @ApiImplicitParam(paramType = "query", name = "msgid", dataType = "int", required = false) }) @RequestMapping(value = "/query/list", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryMessageByType(@RequestParam int typeid, @RequestParam(value = "msgid", required = false) String msgid); }
MessageController extends BaseController { @ApiOperation(value = "queryAllMessageSize", notes = "查询所有的消息未读取消息数", responseContainer = "{object.put(\"0\", 20); " object.put(\"1\", 10); " object.put(\"2\", 0); @RequestMapping(value = "/query/count", method = {RequestMethod.POST, RequestMethod.GET}) public JSONObject queryAllMessageSize() { return success(messageService.queryAllMessageSize(getUserId())); }  @ApiOperation(value = "queryAllMessageSize", notes = "查询所有的消息未读取消息数", responseContainer = "{object.put(\"0\", 20);//系统消息\n" + " object.put(\"1\", 10);//中奖消息\n" + " object.put(\"2\", 0);//发货消息}") @RequestMapping(value = "/query/count", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryAllMessageSize(); @ApiOperation(value = "消息列表查询", notes = "支持分页查询", responseContainer = "{title:标题,id:'1000',content:'内容',date:'日期'}", code = 200, produces = "application/json") @ApiImplicitParams({ @ApiImplicitParam(paramType = "query", name = "typeid", dataType = "int", required = true), @ApiImplicitParam(paramType = "query", name = "msgid", dataType = "int", required = false) }) @RequestMapping(value = "/query/list", method = {RequestMethod.POST, RequestMethod.GET}) JSONObject queryMessageByType(@RequestParam int typeid, @RequestParam(value = "msgid", required = false) String msgid);  }