Пример #1
0
 @RequestMapping(value = "", method = RequestMethod.GET)
 public List<ChatGroup> queryList(@RequestParam(required = true) int uid) {
   return chatGroupService.queryList(uid);
 }
Пример #2
0
 @RequestMapping(value = "", method = RequestMethod.POST)
 public ChatGroupVO createGroup(@RequestBody ChatGroupForm form) {
   return chatGroupService.createGroup(form);
 }