From b714eebaa5ebe9c2122e0d24a62da53edb397cbd Mon Sep 17 00:00:00 2001 From: yutou Date: Thu, 20 May 2021 16:28:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EBT=E4=BF=AE=E6=94=B9=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E5=92=8C=E5=85=B3=E9=94=AE=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yutou/tools/ToolsApplication.java | 2 +- .../tools/bangumi/AnimationController.java | 8 +- web/html/body/nas/animrss.html | 194 ++++++++++-------- 3 files changed, 112 insertions(+), 92 deletions(-) diff --git a/src/main/java/com/yutou/tools/ToolsApplication.java b/src/main/java/com/yutou/tools/ToolsApplication.java index 17eb2aa..c6942ca 100644 --- a/src/main/java/com/yutou/tools/ToolsApplication.java +++ b/src/main/java/com/yutou/tools/ToolsApplication.java @@ -5,7 +5,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class ToolsApplication { - public static final String version="1.1.1"; + public static final String version="1.1.2"; public static void main(String[] args) { System.out.println("当前版本号:" + version); diff --git a/src/main/java/com/yutou/tools/bangumi/AnimationController.java b/src/main/java/com/yutou/tools/bangumi/AnimationController.java index 74a08fc..6b67882 100644 --- a/src/main/java/com/yutou/tools/bangumi/AnimationController.java +++ b/src/main/java/com/yutou/tools/bangumi/AnimationController.java @@ -144,7 +144,13 @@ public class AnimationController { if(!StringUtils.isEmpty(enable)){ item.setEnable(Integer.parseInt(enable)); } - itemDao.updateByPrimaryKey(item); + int i=itemDao.updateByPrimaryKey(item); + if(i>0){ + json.put("msg","操作成功"); + }else{ + json.put("msg","操作失败"); + } + json.put("code",1); return json; } @ResponseBody diff --git a/web/html/body/nas/animrss.html b/web/html/body/nas/animrss.html index 3b43b91..4f4ac09 100644 --- a/web/html/body/nas/animrss.html +++ b/web/html/body/nas/animrss.html @@ -12,7 +12,7 @@
-
+
番剧订阅器
@@ -169,14 +169,15 @@