From 597f5b5960b81d1ffba8ce2d3d1415e5bccc1919 Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Tue, 10 Sep 2024 14:15:32 +0800
Subject: [PATCH] 配置文件修正

---
 dyh-service/dyh-utils/src/main/java/cn/huge/module/common/controller/IdUtilsController.java |   40 ++++------------------------------------
 1 files changed, 4 insertions(+), 36 deletions(-)

diff --git a/dyh-service/dyh-utils/src/main/java/cn/huge/module/common/controller/IdUtilsController.java b/dyh-service/dyh-utils/src/main/java/cn/huge/module/common/controller/IdUtilsController.java
index 7dfed1b..0598af2 100644
--- a/dyh-service/dyh-utils/src/main/java/cn/huge/module/common/controller/IdUtilsController.java
+++ b/dyh-service/dyh-utils/src/main/java/cn/huge/module/common/controller/IdUtilsController.java
@@ -2,9 +2,7 @@
 
 import cn.huge.base.common.utils.ReturnFailUtils;
 import cn.huge.base.common.utils.ReturnSucUtils;
-import cn.huge.module.common.utils.CaseIdUtils;
 import cn.huge.module.common.utils.CommonIdUtils;
-import cn.huge.module.common.utils.JudicIdUtils;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
@@ -14,8 +12,8 @@
 import javax.servlet.http.HttpServletRequest;
 
 /**
- * @title: 公共参数-id工具接口api
- * @description: 公共参数-id工具接口api
+ * @title: 公共参数-id工具接口api-web端
+ * @description: 公共参数-id工具接口api-web端
  * @company: hugeinfo
  * @author: liyj
  * @time: 2022-04-29 10:12:39
@@ -23,7 +21,7 @@
  */
 @Slf4j
 @RestController
-@RequestMapping("/common/api/idUtils")
+@RequestMapping("/api/client/idUtils")
 public class IdUtilsController {
 
     @Autowired(required = false)
@@ -31,38 +29,8 @@
 
 
     /**
-     * 案件id-获取时间Id,后四位常量
-     * @url {ctx}/common/api/idUtils/getCaseNewTimeId
-     * @return Object
-     */
-    @GetMapping("/getCaseNewTimeId")
-    public Object getCaseNewTimeId() {
-        try {
-            return ReturnSucUtils.getRepInfo(CaseIdUtils.getNewTimeId());
-        } catch (Exception e) {
-            return ReturnFailUtils.getRepInfo();
-        }
-    }
-
-
-    /**
-     * 司法确认id-获取时间Id,后四位常量
-     * @url {ctx}/common/api/idUtils/getJudicNewTimeId
-     * @return Object
-     */
-    @GetMapping("/getJudicNewTimeId")
-    public Object getJudicNewTimeId() {
-        try {
-            return ReturnSucUtils.getRepInfo(JudicIdUtils.getNewTimeId());
-        } catch (Exception e) {
-            return ReturnFailUtils.getRepInfo();
-        }
-    }
-
-
-    /**
      * 公共id-获取时间Id,后四位常量
-     * @url {ctx}/common/api/idUtils/getNewTimeId
+     * @url {ctx}/api/client/getNewTimeId
      * @return Object
      */
     @GetMapping("/getNewTimeId")

--
Gitblit v1.8.0