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 @@