修复内部接口的问题
This commit is contained in:
parent
bb7a21a8c0
commit
f430688bc4
|
|
@ -31,7 +31,7 @@ public interface RemoteDeptService {
|
|||
* @return 部门信息
|
||||
*/
|
||||
@GetMapping("/dept/{deptId}")
|
||||
public AjaxResult getInfo(@PathVariable Long deptId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult getInfo(@PathVariable("deptId") Long deptId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增部门
|
||||
|
|
@ -58,5 +58,5 @@ public interface RemoteDeptService {
|
|||
* @return 成功或出错信息
|
||||
*/
|
||||
@DeleteMapping("/dept/{deptId}")
|
||||
public AjaxResult remove(@PathVariable Long deptId, @RequestHeader(SecurityConstants.FROM_SOURCE)String source);
|
||||
public AjaxResult remove(@PathVariable("deptId") Long deptId, @RequestHeader(SecurityConstants.FROM_SOURCE)String source);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ public interface RemoteDictDataService {
|
|||
* @return 字典数据
|
||||
*/
|
||||
@GetMapping(value = "/dict/data/{dictCode}")
|
||||
public AjaxResult getInfo(@PathVariable Long dictCode, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult getInfo(@PathVariable("dictCode") Long dictCode, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据字典类型查询正常状态的字典数据信息
|
||||
|
|
@ -40,7 +40,7 @@ public interface RemoteDictDataService {
|
|||
* @return 字典数据
|
||||
*/
|
||||
@GetMapping(value = "/dict/data/type/{dictType}")
|
||||
public AjaxResult dictType(@PathVariable String dictType, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult dictType(@PathVariable("dictType") String dictType, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增字典数据
|
||||
|
|
@ -67,5 +67,5 @@ public interface RemoteDictDataService {
|
|||
* @return 成功或出错信息
|
||||
*/
|
||||
@DeleteMapping("/dict/data/{dictCodes}")
|
||||
public AjaxResult remove(@PathVariable Long[] dictCodes, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult remove(@PathVariable("dictCodes") Long[] dictCodes, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ public interface RemoteDictTypeService {
|
|||
* @return 字典类型详细
|
||||
*/
|
||||
@GetMapping(value = "/dict/type/{dictId}")
|
||||
public AjaxResult getInfo(@PathVariable Long dictId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult getInfo(@PathVariable("dictId") Long dictId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增字典类型
|
||||
|
|
@ -60,7 +60,7 @@ public interface RemoteDictTypeService {
|
|||
* @return 成功或出错信息
|
||||
*/
|
||||
@DeleteMapping("/dict/type/{dictIds}")
|
||||
public AjaxResult remove(@PathVariable Long[] dictIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult remove(@PathVariable("dictIds") Long[] dictIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 获取所有字典类型
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ public interface RemoteMenuService {
|
|||
*
|
||||
*/
|
||||
@GetMapping(value = "/menu/{menuId}")
|
||||
public AjaxResult getInfo(@PathVariable Long menuId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult getInfo(@PathVariable("menuId") Long menuId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 根据菜单的查询条件,如菜单名或状态(显示或隐藏)或状态(正常或停用),获取菜单下拉树列表
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public interface RemoteNoticeService {
|
|||
* @return 公告列表或错误信息
|
||||
*/
|
||||
@GetMapping(value = "/notice/{noticeId}")
|
||||
public AjaxResult getInfo(@PathVariable Long noticeId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult getInfo(@PathVariable("noticeId") Long noticeId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增通知公告
|
||||
|
|
@ -58,5 +58,5 @@ public interface RemoteNoticeService {
|
|||
* @return 删除公告影响行数或错误信息
|
||||
*/
|
||||
@DeleteMapping("/notice/{noticeIds}")
|
||||
public AjaxResult remove(@PathVariable Long[] noticeIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult remove(@PathVariable("noticeIds") Long[] noticeIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public interface RemotePostService {
|
|||
* @return 岗位信息或错误信息
|
||||
*/
|
||||
@GetMapping(value = "/post/{postId}")
|
||||
public AjaxResult getInfo(@PathVariable Long postId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult getInfo(@PathVariable("postId") Long postId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增岗位
|
||||
|
|
@ -58,7 +58,7 @@ public interface RemotePostService {
|
|||
* @return 删除岗位影响的行数或错误信息
|
||||
*/
|
||||
@DeleteMapping("/post/{postIds}")
|
||||
public AjaxResult remove(@PathVariable Long[] postIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult remove(@PathVariable("postIds") Long[] postIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ public interface RemoteRoleService {
|
|||
* @return 角色列表
|
||||
*/
|
||||
@GetMapping(value = "/role/{roleId}")
|
||||
public AjaxResult getInfo(@PathVariable Long roleId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult getInfo(@PathVariable("roleId") Long roleId, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 新增角色
|
||||
|
|
@ -78,7 +78,7 @@ public interface RemoteRoleService {
|
|||
* @return 删除角色影响的行数或错误信息
|
||||
*/
|
||||
@DeleteMapping("/role/{roleIds}")
|
||||
public AjaxResult remove(@PathVariable Long[] roleIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
public AjaxResult remove(@PathVariable("roleIds") Long[] roleIds, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||
|
||||
/**
|
||||
* 获取所有角色
|
||||
|
|
|
|||
Loading…
Reference in New Issue