コード例 #1
0
 @RequestMapping(value = "save", method = RequestMethod.POST)
 public @ResponseBody TransactionCategoryDO save(
     @CookieValue("ukey") String ukey, @RequestBody TransactionCategoryDO transactionCategory) {
   return controller.save(transactionCategory);
 }
コード例 #2
0
 @RequestMapping(value = "delete", method = RequestMethod.POST)
 public @ResponseBody void delete(@CookieValue("ukey") String ukey, @RequestParam("id") Long id) {
   controller.delete(ukey, id);
 }
コード例 #3
0
 @RequestMapping(value = "findById", method = RequestMethod.POST)
 public @ResponseBody TransactionCategoryDO findById(
     @CookieValue("ukey") String ukey, @RequestParam("id") Long id) {
   return controller.findById(ukey, id);
 }