From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/NewFightHandler.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/NewFightHandler.java b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/NewFightHandler.java index f859886..287c55e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/NewFightHandler.java +++ b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/NewFightHandler.java @@ -42,7 +42,7 @@ R r = communityService.timedNewFightNeedProblemInventoryHandler(); log.info("执行结果【{}】", r.toString()); ReturnT rt= new ReturnT<String>(); - rt.setCode(200); + rt.setCode(ReturnT.SUCCESS_CODE); rt.setContent("执行结果【{"+r.toString()+"}】"); return rt; @@ -50,5 +50,17 @@ + //定时任务 社区组织共建 定时更新项目进度 + @XxlJob("taskTimedGetListTimeHandler") + public ReturnT<String> taskTimedGetListTimeHandler(String param) throws Exception + { + log.info("定时任务 社区组织共建 定时更新项目进度 "); + R r = communityService.taskTimedGetListTime(); + log.info("执行结果【{}】", r.toString()); + ReturnT rt= new ReturnT<String>(); + rt.setCode(ReturnT.SUCCESS_CODE); + rt.setContent("执行结果【{"+r.toString()+"}】"); + return rt; + } } -- Gitblit v1.7.1