From e898cd9ca017a6f5bfe4266fcd2830b232047bc8 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 02 九月 2023 10:23:26 +0800 Subject: [PATCH] 修改颜色表属性设置 --- src/main/java/com/moon/server/service/data/PublishService.java | 25 ------------------------- 1 files changed, 0 insertions(+), 25 deletions(-) diff --git a/src/main/java/com/moon/server/service/data/PublishService.java b/src/main/java/com/moon/server/service/data/PublishService.java index 818636b..7b6bed4 100644 --- a/src/main/java/com/moon/server/service/data/PublishService.java +++ b/src/main/java/com/moon/server/service/data/PublishService.java @@ -4,10 +4,8 @@ import com.moon.server.entity.all.ResponseMsg; import com.moon.server.entity.all.StaticData; import com.moon.server.entity.ctrl.PubEntity; -import com.moon.server.entity.ctrl.RegisterEntity; import com.moon.server.entity.data.MetaEntity; import com.moon.server.entity.data.PublishEntity; -import com.moon.server.entity.sys.UserEntity; import com.moon.server.helper.PathHelper; import com.moon.server.helper.RestHelper; import com.moon.server.helper.StringHelper; @@ -43,13 +41,7 @@ PublishMapper publishMapper; @Resource - FmeService fmeService; - - @Resource PathHelper pathHelper; - - @Resource - TokenService tokenService; private final static Log log = LogFactory.getLog(PublishService.class); @@ -255,23 +247,6 @@ String cmd = String.format("cmd /c rd \"%s\" /s /q", path); WebHelper.exec(cmd); } - } - - /** - * 鍒犻櫎鍙戝竷鏂囦欢 - */ - public void deleteFiles(List<Integer> ids, HttpServletRequest req) { - PubEntity entity = new PubEntity(); - entity.setIds(ids); - entity.setDircode("00"); - - UserEntity ue = tokenService.getCurrentUser(req); - if (ue != null) { - entity.setUserId(ue.getId()); - entity.setToken(WebHelper.getToken(req)); - } - - long rows = postForPub(entity, "/Convert/DeleteFiles"); } /** -- Gitblit v1.9.3