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/EasyPhotoActivityJobHandler.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/EasyPhotoActivityJobHandler.java b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/EasyPhotoActivityJobHandler.java index d6b0fab..599621d 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/EasyPhotoActivityJobHandler.java +++ b/springcloud_k8s_panzhihuazhihuishequ/timejob/src/main/java/com/panzhihua/timejob/jobhandler/EasyPhotoActivityJobHandler.java @@ -1,13 +1,15 @@ package com.panzhihua.timejob.jobhandler; +import javax.annotation.Resource; + +import org.springframework.stereotype.Component; + import com.panzhihua.common.model.vos.R; import com.panzhihua.common.service.community.CommunityService; import com.xxl.job.core.biz.model.ReturnT; import com.xxl.job.core.handler.annotation.XxlJob; -import lombok.extern.slf4j.Slf4j; -import org.springframework.stereotype.Component; -import javax.annotation.Resource; +import lombok.extern.slf4j.Slf4j; @Slf4j @Component @@ -19,8 +21,8 @@ @XxlJob("timedTaskEasyPhotoActivityJobHandler") public ReturnT<String> timedTaskEasyPhotoActivityJobHandler(String param) throws Exception { log.info("定时任务扫描随手拍活动是否开始,激活状态"); - R r=communityService.timedTaskEasyPhotoActivity(); - log.info("执行结果【{}】",r.toString()); + R r = communityService.timedTaskEasyPhotoActivity(); + log.info("执行结果【{}】", r.toString()); return ReturnT.SUCCESS; } } -- Gitblit v1.7.1