Exemplo n.º 1
0
 /**
  * 店铺明细
  *
  * @param id
  */
 @OperationLog("根据店铺id查询店铺明细")
 @RequestMapping("/shop/detail")
 @ResponseBody
 public JsonResult detailShop(Integer id, HttpServletRequest request)
     throws IOException, IllegalAccessException, NoSuchMethodException, InvocationTargetException {
   if (log.isInfoEnabled()) {
     log.info("店铺:查询店铺明细,id = " + id);
   }
   // 查询店铺明细
   ShopVo shopVo = shopService.getShopVo(id);
   return new JsonResult(true).addObject(shopVo);
 }