From adddb6522e95c08bef6bc6b00338ff27d82aa55d Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Thu, 17 Oct 2024 14:42:24 +0800
Subject: [PATCH] fix:网格平台登录对接调整

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/web/PaUserWebController.java |   26 +++++++++++---------------
 1 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/web/PaUserWebController.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/web/PaUserWebController.java
index ead1690..09b4b55 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/web/PaUserWebController.java
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/web/PaUserWebController.java
@@ -1,4 +1,4 @@
-package cn.huge.module.pauser.controller;
+package cn.huge.module.pauser.controller.web;
 
 import cn.huge.base.common.utils.ReturnFailUtils;
 import cn.huge.base.common.utils.ReturnSucUtils;
@@ -19,11 +19,11 @@
 import java.util.stream.Stream;
 
 /**
- * @title: 公众用户表接口api
- * @description: 公众用户表接口api
+ * @title: 公众用户表接口api-web端
+ * @description: 公众用户表接口api-web端
  * @company: hugeinfo
  * @author: liyj
- * @time: 2024-08-17 15:33:42
+ * @time: 2024-08-19 20:04:19
  * @version: 1.0.0
  */
 @Slf4j
@@ -163,7 +163,7 @@
         if (StringUtils.isNotBlank(followCaseType)){
             terms.put("followCaseType", followCaseType);
         }
-        // 删除状态,0:已删除,1:未删除
+        // 删除状态,0:未删除,1:已删除
         String deleteStatus = request.getParameter("deleteStatus");
         if (StringUtils.isNotBlank(deleteStatus)){
             terms.put("deleteStatus", deleteStatus);
@@ -241,19 +241,15 @@
     }
 
     /**
-    * 根据主键单个/批量删除
-    * @url {ctx}/api/web/paUser/deleteByIds
-    * @param ids 主键编号
+    * 根据主键单个
+    * @url {ctx}/api/web/paUser/deleteById
+    * @param id 主键编号
     * @return Object
     */
-    @GetMapping("/deleteByIds")
-    public Object deleteByIds(@RequestParam(value = "ids") String ids) {
+    @GetMapping("/deleteById")
+    public Object deleteById(@RequestParam(value = "id") String id) {
         try {
-            if (ids.indexOf(",") != -1) {
-                service.removeByIds(Stream.of(ids.split(",")).collect(Collectors.toList()));
-            }else{
-                service.removeById(ids);
-            }
+            service.removeById(id);
             return ReturnSucUtils.getRepInfo();
         } catch (Exception e) {
             return ReturnFailUtils.getRepInfo();

--
Gitblit v1.8.0