mirror of
https://gitee.com/log4j/pig.git
synced 2025-01-03 23:42:22 +08:00
commit
0424676d4d
@ -46,7 +46,6 @@ public interface RemoteUserService {
|
|||||||
/**
|
/**
|
||||||
* 通过手机号码查询用户、角色信息
|
* 通过手机号码查询用户、角色信息
|
||||||
* @param phone 手机号码
|
* @param phone 手机号码
|
||||||
* @param from 调用标志
|
|
||||||
* @return R
|
* @return R
|
||||||
*/
|
*/
|
||||||
@GetMapping(value = "/app/info/{phone}", headers = SecurityConstants.HEADER_FROM_IN)
|
@GetMapping(value = "/app/info/{phone}", headers = SecurityConstants.HEADER_FROM_IN)
|
||||||
@ -55,7 +54,6 @@ public interface RemoteUserService {
|
|||||||
/**
|
/**
|
||||||
* 根据部门id,查询对应的用户 id 集合
|
* 根据部门id,查询对应的用户 id 集合
|
||||||
* @param deptIds 部门id 集合
|
* @param deptIds 部门id 集合
|
||||||
* @param from 调用标志
|
|
||||||
* @return 用户 id 集合
|
* @return 用户 id 集合
|
||||||
*/
|
*/
|
||||||
@GetMapping(value = "/user/ids", headers = SecurityConstants.HEADER_FROM_IN)
|
@GetMapping(value = "/user/ids", headers = SecurityConstants.HEADER_FROM_IN)
|
||||||
|
@ -115,13 +115,13 @@ public class SysDeptController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据部门名查询部门信息
|
* 根据部门名查询部门信息
|
||||||
* @param deptname 部门名
|
* @param deptName 部门名
|
||||||
* @return
|
* @return SysDept
|
||||||
*/
|
*/
|
||||||
@GetMapping("/details/{deptname}")
|
@GetMapping("/details/{deptName}")
|
||||||
public R<SysDept> user(@PathVariable String deptname) {
|
public R<SysDept> user(@PathVariable String deptName) {
|
||||||
SysDept condition = new SysDept();
|
SysDept condition = new SysDept();
|
||||||
condition.setName(deptname);
|
condition.setName(deptName);
|
||||||
return R.ok(sysDeptService.getOne(new QueryWrapper<>(condition)));
|
return R.ok(sysDeptService.getOne(new QueryWrapper<>(condition)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user