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