Exemplo n.º 1
0
 public ActionResult DelBanner(int id)
 {
     if (BannerService.DeleteEntity(id))
     {
         SaveSyslog($"删除广告图(id={id})成功", SysLogType.后台日志, nowManager.name);
         return(Json(SysEnum.成功, "删除成功"));
     }
     return(Json(SysEnum.失败, "删除失败"));
 }