From 5bb475d48559ded3ac78d09599f74d38bfcc7f38 Mon Sep 17 00:00:00 2001
From: phpcjl <phpcjl@gmail.com>
Date: 星期二, 17 十二月 2024 11:09:50 +0800
Subject: [PATCH] 1

---
 ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java
index c54eb5d..315b847 100644
--- a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java
+++ b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/AppUserController.java
@@ -516,8 +516,18 @@
 
 
 	@GetMapping("/listByIds")
-	List<AppUser> listByIds(List<String> list){
-		return appUserService.listByIds(list);
+	List<AppUser> listByIds(@RequestParam("ids") List<Long> ids){
+		List<AppUser> appUsers = appUserService.listByIds(ids);
+		return appUsers;
+	}
+	
+	
+	
+	@PostMapping("/getAppUserByPhone1")
+	public R<AppUser> getAppUserByPhone1(@RequestParam("phone") String phone){
+		AppUser appUser = appUserService.getOne(new LambdaQueryWrapper<AppUser>().eq(AppUser::getDelFlag, 0).eq(AppUser::getStatus, 1)
+				.eq(AppUser::getPhone, phone));
+		return R.ok(appUser);
 	}
 
 }

--
Gitblit v1.7.1