Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jeecg
jeecg-boot
提交
4437c749
J
jeecg-boot
项目概览
jeecg
/
jeecg-boot
上一次同步 3 年多
通知
865
Star
24375
Fork
84
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jeecg-boot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4437c749
编写于
1月 25, 2021
作者:
JEECG低代码平台
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
JeecgBoot 2.4.2 积木报表版本发布(微服务启动报错)
上级
74ebac49
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
17 addition
and
17 deletion
+17
-17
jeecg-boot/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/src/main/java/org/jeecg/common/system/api/ISysBaseAPI.java
...rc/main/java/org/jeecg/common/system/api/ISysBaseAPI.java
+15
-15
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/controller/SystemAPIController.java
...org/jeecg/modules/api/controller/SystemAPIController.java
+2
-2
未找到文件。
jeecg-boot/jeecg-boot-base/jeecg-boot-base-api/jeecg-system-cloud-api/src/main/java/org/jeecg/common/system/api/ISysBaseAPI.java
浏览文件 @
4437c749
...
@@ -140,7 +140,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -140,7 +140,7 @@ public interface ISysBaseAPI extends CommonAPI {
* 15根据业务类型 busType 及业务 busId 修改消息已读
* 15根据业务类型 busType 及业务 busId 修改消息已读
*/
*/
@GetMapping
(
"/sys/api/updateSysAnnounReadFlag"
)
@GetMapping
(
"/sys/api/updateSysAnnounReadFlag"
)
public
void
updateSysAnnounReadFlag
(
@RequestParam
(
"busType"
)
String
busType
,
@RequestParam
(
"busId"
)
String
busId
);
public
void
updateSysAnnounReadFlag
(
@RequestParam
(
"busType"
)
String
busType
,
@RequestParam
(
"busId"
)
String
busId
);
/**
/**
* 16查询表字典 支持过滤数据
* 16查询表字典 支持过滤数据
...
@@ -177,7 +177,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -177,7 +177,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/queryAllUser"
)
@GetMapping
(
"/sys/api/queryAllUser"
)
public
JSONObject
queryAllUser
(
@RequestParam
(
name
=
"userIds"
,
required
=
false
)
String
userIds
,
@RequestParam
(
name
=
"pageNo"
,
required
=
false
)
Integer
pageNo
,
@RequestParam
(
name
=
"pageSize"
,
required
=
false
)
int
pageSize
);
public
JSONObject
queryAllUser
(
@RequestParam
(
name
=
"userIds"
,
required
=
false
)
String
userIds
,
@RequestParam
(
name
=
"pageNo"
,
required
=
false
)
Integer
pageNo
,
@RequestParam
(
name
=
"pageSize"
,
required
=
false
)
int
pageSize
);
/**
/**
...
@@ -186,7 +186,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -186,7 +186,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/queryAllRole"
)
@GetMapping
(
"/sys/api/queryAllRole"
)
public
List
<
ComboModel
>
queryAllRole
(
@RequestParam
(
name
=
"roleIds"
,
required
=
false
)
String
[]
roleIds
);
public
List
<
ComboModel
>
queryAllRole
(
@RequestParam
(
name
=
"roleIds"
,
required
=
false
)
String
[]
roleIds
);
/**
/**
* 21通过用户账号查询角色Id集合
* 21通过用户账号查询角色Id集合
...
@@ -194,7 +194,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -194,7 +194,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/getRoleIdsByUsername"
)
@GetMapping
(
"/sys/api/getRoleIdsByUsername"
)
public
List
<
String
>
getRoleIdsByUsername
(
@RequestParam
(
"username"
)
String
username
);
public
List
<
String
>
getRoleIdsByUsername
(
@RequestParam
(
"username"
)
String
username
);
/**
/**
* 22通过部门编号查询部门id
* 22通过部门编号查询部门id
...
@@ -202,7 +202,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -202,7 +202,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/getDepartIdsByOrgCode"
)
@GetMapping
(
"/sys/api/getDepartIdsByOrgCode"
)
public
String
getDepartIdsByOrgCode
(
@RequestParam
(
"orgCode"
)
String
orgCode
);
public
String
getDepartIdsByOrgCode
(
@RequestParam
(
"orgCode"
)
String
orgCode
);
/**
/**
* 23查询所有部门
* 23查询所有部门
...
@@ -217,7 +217,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -217,7 +217,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/getParentDepartId"
)
@GetMapping
(
"/sys/api/getParentDepartId"
)
DictModel
getParentDepartId
(
@RequestParam
(
"departId"
)
String
departId
);
DictModel
getParentDepartId
(
@RequestParam
(
"departId"
)
String
departId
);
/**
/**
* 25根据部门Id获取部门负责人
* 25根据部门Id获取部门负责人
...
@@ -233,7 +233,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -233,7 +233,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @param cmd
* @param cmd
*/
*/
@GetMapping
(
"/sys/api/sendWebSocketMsg"
)
@GetMapping
(
"/sys/api/sendWebSocketMsg"
)
public
void
sendWebSocketMsg
(
@RequestParam
(
"userIds"
)
String
[]
userIds
,
@RequestParam
(
"cmd"
)
String
cmd
);
public
void
sendWebSocketMsg
(
@RequestParam
(
"userIds"
)
String
[]
userIds
,
@RequestParam
(
"cmd"
)
String
cmd
);
/**
/**
* 27根据id获取所有参与用户
* 27根据id获取所有参与用户
...
@@ -250,7 +250,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -250,7 +250,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @param userId
* @param userId
*/
*/
@GetMapping
(
"/sys/api/meetingSignWebsocket"
)
@GetMapping
(
"/sys/api/meetingSignWebsocket"
)
void
meetingSignWebsocket
(
@RequestParam
(
"userId"
)
String
userId
);
void
meetingSignWebsocket
(
@RequestParam
(
"userId"
)
String
userId
);
/**
/**
* 29根据name获取所有参与用户
* 29根据name获取所有参与用户
...
@@ -258,7 +258,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -258,7 +258,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/queryUserByNames"
)
@GetMapping
(
"/sys/api/queryUserByNames"
)
List
<
LoginUser
>
queryUserByNames
(
@RequestParam
(
"userNames"
)
String
[]
userNames
);
List
<
LoginUser
>
queryUserByNames
(
@RequestParam
(
"userNames"
)
String
[]
userNames
);
/**
/**
...
@@ -267,7 +267,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -267,7 +267,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/getUserRoleSet"
)
@GetMapping
(
"/sys/api/getUserRoleSet"
)
Set
<
String
>
getUserRoleSet
(
@RequestParam
(
"username"
)
String
username
);
Set
<
String
>
getUserRoleSet
(
@RequestParam
(
"username"
)
String
username
);
/**
/**
* 31获取用户的权限集合
* 31获取用户的权限集合
...
@@ -308,7 +308,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -308,7 +308,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/queryUserRoles"
)
@GetMapping
(
"/sys/api/queryUserRoles"
)
Set
<
String
>
queryUserRoles
(
@RequestParam
(
"username"
)
String
username
);
Set
<
String
>
queryUserRoles
(
@RequestParam
(
"username"
)
String
username
);
/**
/**
* 36查询用户权限信息
* 36查询用户权限信息
...
@@ -316,7 +316,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -316,7 +316,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/queryUserAuths"
)
@GetMapping
(
"/sys/api/queryUserAuths"
)
Set
<
String
>
queryUserAuths
(
@RequestParam
(
"username"
)
String
username
);
Set
<
String
>
queryUserAuths
(
@RequestParam
(
"username"
)
String
username
);
/**
/**
* 37根据 id 查询数据库中存储的 DynamicDataSourceModel
* 37根据 id 查询数据库中存储的 DynamicDataSourceModel
...
@@ -368,7 +368,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -368,7 +368,7 @@ public interface ISysBaseAPI extends CommonAPI {
* @return
* @return
*/
*/
@GetMapping
(
"/sys/api/queryPermissionDataRule"
)
@GetMapping
(
"/sys/api/queryPermissionDataRule"
)
List
<
SysPermissionDataRuleModel
>
queryPermissionDataRule
(
@RequestParam
(
"component"
)
String
component
,
@RequestParam
(
"requestPath"
)
String
requestPath
,
@RequestParam
(
"username"
)
String
username
);
List
<
SysPermissionDataRuleModel
>
queryPermissionDataRule
(
@RequestParam
(
"component"
)
String
component
,
@RequestParam
(
"requestPath"
)
String
requestPath
,
@RequestParam
(
"username"
)
String
username
);
/**
/**
* 43查询用户信息
* 43查询用户信息
...
@@ -408,7 +408,7 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -408,7 +408,7 @@ public interface ISysBaseAPI extends CommonAPI {
*/
*/
@GetMapping
(
"/sys/api/queryDepartsByOrgIds"
)
@GetMapping
(
"/sys/api/queryDepartsByOrgIds"
)
List
<
JSONObject
>
queryDepartsByOrgIds
(
String
ids
);
List
<
JSONObject
>
queryDepartsByOrgIds
(
String
ids
);
/**
/**
* 40发送邮件消息
* 40发送邮件消息
* @param email
* @param email
...
@@ -416,5 +416,5 @@ public interface ISysBaseAPI extends CommonAPI {
...
@@ -416,5 +416,5 @@ public interface ISysBaseAPI extends CommonAPI {
* @param content
* @param content
*/
*/
@GetMapping
(
"/sys/api/sendEmailMsg"
)
@GetMapping
(
"/sys/api/sendEmailMsg"
)
void
sendEmailMsg
(
String
email
,
String
title
,
String
content
);
void
sendEmailMsg
(
@RequestParam
(
"email"
)
String
email
,
@RequestParam
(
"title"
)
String
title
,
@RequestParam
(
"content"
)
String
content
);
}
}
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/api/controller/SystemAPIController.java
浏览文件 @
4437c749
package
org.jeecg.modules.api.controller
;
package
org.jeecg.modules.api.controller
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
org.jeecg.common.api.dto.message.*
;
import
org.jeecg.common.api.dto.OnlineAuthDTO
;
import
org.jeecg.common.api.dto.OnlineAuthDTO
;
import
org.jeecg.common.api.dto.message.*
;
import
org.jeecg.common.system.api.ISysBaseAPI
;
import
org.jeecg.common.system.api.ISysBaseAPI
;
import
org.jeecg.common.system.vo.*
;
import
org.jeecg.common.system.vo.*
;
import
org.jeecg.modules.system.service.ISysUserService
;
import
org.jeecg.modules.system.service.ISysUserService
;
...
@@ -518,7 +518,7 @@ public class SystemAPIController {
...
@@ -518,7 +518,7 @@ public class SystemAPIController {
* @param content
* @param content
*/
*/
@GetMapping
(
"/sendEmailMsg"
)
@GetMapping
(
"/sendEmailMsg"
)
public
void
sendEmailMsg
(
String
email
,
String
title
,
String
content
){
public
void
sendEmailMsg
(
@RequestParam
(
"email"
)
String
email
,
@RequestParam
(
"title"
)
String
title
,
@RequestParam
(
"content"
)
String
content
){
this
.
sysBaseAPI
.
sendEmailMsg
(
email
,
title
,
content
);
this
.
sysBaseAPI
.
sendEmailMsg
(
email
,
title
,
content
);
};
};
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录