|
|
@@ -60,7 +60,7 @@ public class ContextUtil {
|
|
|
/**
|
|
|
* 获取当前令牌
|
|
|
*
|
|
|
- * @param accessToken
|
|
|
+ * @param
|
|
|
*/
|
|
|
public static String getCurrentAccessToken() {
|
|
|
return contextUtil.currentContext.getCurrentAccessToken();
|
|
|
@@ -69,7 +69,7 @@ public class ContextUtil {
|
|
|
/**
|
|
|
* 获取当前clientId
|
|
|
*
|
|
|
- * @param clientId
|
|
|
+ * @param
|
|
|
* @since 3.1.2
|
|
|
*/
|
|
|
public static String getCurrentClientId() {
|
|
|
@@ -94,7 +94,16 @@ public class ContextUtil {
|
|
|
public static String getCurrentUserId() {
|
|
|
return contextUtil.currentContext.getCurrentUserId();
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+ public static String getSetting() {
|
|
|
+ return contextUtil.currentContext.getSetting();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static void setSetting(String setting) {
|
|
|
+ contextUtil.currentContext.setSetting(setting);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 当前用户账号
|
|
|
*
|
|
|
@@ -251,7 +260,7 @@ public class ContextUtil {
|
|
|
/**
|
|
|
* 设置当前执行人租户IDs
|
|
|
*
|
|
|
- * @param tenantId
|
|
|
+ * @param
|
|
|
*/
|
|
|
public static void setCurrentTenantIds(String tenantIds) {
|
|
|
contextUtil.currentContext.setCurrentTenantIds(tenantIds);
|
|
|
@@ -279,7 +288,7 @@ public class ContextUtil {
|
|
|
/**
|
|
|
* 设置当前组织
|
|
|
*
|
|
|
- * @param user
|
|
|
+ * @param
|
|
|
*/
|
|
|
public static void setCurrentOrg(PartyEntity org) {
|
|
|
contextUtil.currentContext.setCurrentOrg(org);
|
|
|
@@ -288,7 +297,7 @@ public class ContextUtil {
|
|
|
/**
|
|
|
* 设置当前主岗位
|
|
|
*
|
|
|
- * @param user
|
|
|
+ * @param
|
|
|
*/
|
|
|
public static void setCurrentPosition(PartyEntity position) {
|
|
|
contextUtil.currentContext.setCurrentPosition(position);
|