@gct-paas/api 0.1.4-dev.2 → 0.1.4-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.min.js +1 -1
- package/dist/index.system.min.js +1 -1
- package/es/apaas/service/api-config.mjs +16 -3
- package/es/apaas/service/apis/designer-common.service.d.ts +2 -2
- package/es/apaas/service/apis/enum-model-field.service.d.ts +8 -0
- package/es/apaas/service/apis/file-resource.service.d.ts +1 -1
- package/es/apaas/service/apis/file.service.d.ts +1 -1
- package/es/apaas/service/apis/i18n-info.service.d.ts +1 -1
- package/es/apaas/service/apis/label.service.d.ts +1 -1
- package/es/apaas/service/apis/medPro.service.d.ts +45 -17
- package/es/apaas/service/apis/model-method.service.d.ts +19 -1
- package/es/apaas/service/apis/office.service.d.ts +1 -1
- package/es/apaas/service/apis/online-form-tmpl-export.service.d.ts +1 -1
- package/es/apaas/service/apis/online-form-tmpl.service.d.ts +4 -0
- package/es/apaas/service/apis/process-task-done.service.d.ts +4 -0
- package/es/apaas/service/apis/process-task-todo.service.d.ts +8 -0
- package/es/apaas/service/entities.d.ts +14 -0
- package/es/apaas/service/index.d.ts +1 -1
- package/es/ipaas/service/apis/connector-config.service.d.ts +1 -1
- package/es/ipaas/service/apis/flow.service.d.ts +1 -1
- package/es/platform/service/api-config.mjs +18 -4
- package/es/platform/service/apis/api.service.d.ts +6 -10
- package/es/platform/service/apis/apk.service.d.ts +1 -1
- package/es/platform/service/apis/app.service.d.ts +5 -1
- package/es/platform/service/apis/assets.service.d.ts +1 -1
- package/es/platform/service/apis/bi-file.service.d.ts +1 -1
- package/es/platform/service/apis/dashboard.service.d.ts +4 -0
- package/es/platform/service/apis/device-interconnection-param.service.d.ts +1 -1
- package/es/platform/service/apis/device-interconnection.service.d.ts +1 -1
- package/es/platform/service/apis/file.service.d.ts +3 -3
- package/es/platform/service/apis/i18n-info.service.d.ts +1 -1
- package/es/platform/service/apis/ldap.service.d.ts +1 -1
- package/es/platform/service/apis/license.service.d.ts +1 -10
- package/es/platform/service/apis/login-log.service.d.ts +13 -0
- package/es/platform/service/apis/plat.service.d.ts +8 -1
- package/es/platform/service/apis/pn-project.service.d.ts +1 -1
- package/es/platform/service/apis/user.service.d.ts +6 -6
- package/es/platform/service/entities.d.ts +357 -4
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const apiConfig = [
|
|
2
2
|
{
|
|
3
3
|
name: "medPro",
|
|
4
|
-
entityName: "
|
|
4
|
+
entityName: "medPro",
|
|
5
5
|
apis: [
|
|
6
6
|
{
|
|
7
7
|
mode: "post",
|
|
@@ -2343,6 +2343,12 @@ export const apiConfig = [
|
|
|
2343
2343
|
path: "page/list",
|
|
2344
2344
|
hasQuery: true
|
|
2345
2345
|
},
|
|
2346
|
+
{
|
|
2347
|
+
mode: "post",
|
|
2348
|
+
method: "postSort",
|
|
2349
|
+
path: "sort",
|
|
2350
|
+
hasData: true
|
|
2351
|
+
},
|
|
2346
2352
|
{
|
|
2347
2353
|
mode: "put",
|
|
2348
2354
|
method: "putId",
|
|
@@ -4160,7 +4166,8 @@ export const apiConfig = [
|
|
|
4160
4166
|
{
|
|
4161
4167
|
mode: "get",
|
|
4162
4168
|
method: "getDataModelList",
|
|
4163
|
-
path: "data-model/list"
|
|
4169
|
+
path: "data-model/list",
|
|
4170
|
+
hasQuery: true
|
|
4164
4171
|
},
|
|
4165
4172
|
{
|
|
4166
4173
|
mode: "get",
|
|
@@ -4183,7 +4190,8 @@ export const apiConfig = [
|
|
|
4183
4190
|
{
|
|
4184
4191
|
mode: "get",
|
|
4185
4192
|
method: "getViewModelList",
|
|
4186
|
-
path: "view-model/list"
|
|
4193
|
+
path: "view-model/list",
|
|
4194
|
+
hasQuery: true
|
|
4187
4195
|
},
|
|
4188
4196
|
{
|
|
4189
4197
|
mode: "put",
|
|
@@ -4750,6 +4758,11 @@ export const apiConfig = [
|
|
|
4750
4758
|
path: "infos",
|
|
4751
4759
|
hasData: true
|
|
4752
4760
|
},
|
|
4761
|
+
{
|
|
4762
|
+
mode: "get",
|
|
4763
|
+
method: "getIsOcrGranted",
|
|
4764
|
+
path: "isOcrGranted"
|
|
4765
|
+
},
|
|
4753
4766
|
{
|
|
4754
4767
|
mode: "get",
|
|
4755
4768
|
method: "getListBaseAndProcessForm",
|
|
@@ -435,14 +435,14 @@ export interface DesignerCommonService {
|
|
|
435
435
|
query: postUploadFileQuery,
|
|
436
436
|
data: UploadFileData,
|
|
437
437
|
config?: Partial<AxiosRequestConfig>,
|
|
438
|
-
): Promise<string
|
|
438
|
+
): Promise<IHttpResponse<string>>;
|
|
439
439
|
/**
|
|
440
440
|
* 上传标签图片
|
|
441
441
|
*/
|
|
442
442
|
postUploadLabelImage(
|
|
443
443
|
data: UploadFileData,
|
|
444
444
|
config?: Partial<AxiosRequestConfig>,
|
|
445
|
-
): Promise<string
|
|
445
|
+
): Promise<IHttpResponse<string>>;
|
|
446
446
|
/**
|
|
447
447
|
* 获取用户角色权限组
|
|
448
448
|
*/
|
|
@@ -3,6 +3,7 @@ import type {
|
|
|
3
3
|
EnumModelFieldRequest,
|
|
4
4
|
EnumModelFieldDragRequest,
|
|
5
5
|
EnumModelFieldResponse,
|
|
6
|
+
EnumModelFieldSortReq,
|
|
6
7
|
} from '../entities';
|
|
7
8
|
|
|
8
9
|
export interface deleteQuery {
|
|
@@ -113,6 +114,13 @@ export interface EnumModelFieldService {
|
|
|
113
114
|
query: getPageListQuery,
|
|
114
115
|
config?: Partial<AxiosRequestConfig>,
|
|
115
116
|
): Promise<IPage<EnumModelFieldResponse>>;
|
|
117
|
+
/**
|
|
118
|
+
* 拖拽排序
|
|
119
|
+
*/
|
|
120
|
+
postSort(
|
|
121
|
+
data: EnumModelFieldSortReq,
|
|
122
|
+
config?: Partial<AxiosRequestConfig>,
|
|
123
|
+
): Promise<string>;
|
|
116
124
|
/**
|
|
117
125
|
* 修改
|
|
118
126
|
*/
|
|
@@ -6,43 +6,71 @@ import type {
|
|
|
6
6
|
} from '../entities';
|
|
7
7
|
|
|
8
8
|
export interface getModelMetaGetSysConfigQuery {
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* key
|
|
11
|
+
*/
|
|
12
|
+
key: string;
|
|
10
13
|
}
|
|
11
14
|
export interface getModelMetaHasDataAssociationQuery {
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
/**
|
|
16
|
+
* id
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* modelKey
|
|
21
|
+
*/
|
|
22
|
+
modelKey: string;
|
|
14
23
|
}
|
|
15
24
|
export interface getModelMetaModelDataAssociationQuery {
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
/**
|
|
26
|
+
* id
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* modelKey
|
|
31
|
+
*/
|
|
32
|
+
modelKey: string;
|
|
18
33
|
}
|
|
19
34
|
export interface getEdhrAttachmentGetEdhrAttachmentQuery {
|
|
20
|
-
|
|
35
|
+
/**
|
|
36
|
+
* materialNo
|
|
37
|
+
*/
|
|
38
|
+
materialNo: string;
|
|
21
39
|
}
|
|
22
|
-
export interface
|
|
23
|
-
|
|
40
|
+
export interface MedProService {
|
|
41
|
+
/**
|
|
42
|
+
* 关联模型数据查询
|
|
43
|
+
*/
|
|
24
44
|
postModelMetaDataAssociation(
|
|
25
45
|
data: modelDataAssociationRequest,
|
|
26
46
|
config?: Partial<AxiosRequestConfig>,
|
|
27
|
-
): Promise<
|
|
28
|
-
|
|
47
|
+
): Promise<object>;
|
|
48
|
+
/**
|
|
49
|
+
* 获取系统配置
|
|
50
|
+
*/
|
|
29
51
|
getModelMetaGetSysConfig(
|
|
30
52
|
query: getModelMetaGetSysConfigQuery,
|
|
31
53
|
config?: Partial<AxiosRequestConfig>,
|
|
32
|
-
): Promise<
|
|
33
|
-
|
|
54
|
+
): Promise<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* 存在关联数据
|
|
57
|
+
*/
|
|
34
58
|
getModelMetaHasDataAssociation(
|
|
35
59
|
query: getModelMetaHasDataAssociationQuery,
|
|
36
60
|
config?: Partial<AxiosRequestConfig>,
|
|
37
|
-
): Promise<
|
|
38
|
-
|
|
61
|
+
): Promise<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* 关联数据信息列表
|
|
64
|
+
*/
|
|
39
65
|
getModelMetaModelDataAssociation(
|
|
40
66
|
query: getModelMetaModelDataAssociationQuery,
|
|
41
67
|
config?: Partial<AxiosRequestConfig>,
|
|
42
|
-
): Promise<
|
|
43
|
-
|
|
68
|
+
): Promise<ModelAssociationResponse[]>;
|
|
69
|
+
/**
|
|
70
|
+
* 获取Edhr附录接口
|
|
71
|
+
*/
|
|
44
72
|
getEdhrAttachmentGetEdhrAttachment(
|
|
45
73
|
query: getEdhrAttachmentGetEdhrAttachmentQuery,
|
|
46
74
|
config?: Partial<AxiosRequestConfig>,
|
|
47
|
-
): Promise<
|
|
75
|
+
): Promise<OnlineFormInstance[]>;
|
|
48
76
|
}
|
|
@@ -7,6 +7,12 @@ export interface deleteQuery {
|
|
|
7
7
|
*/
|
|
8
8
|
ids: string;
|
|
9
9
|
}
|
|
10
|
+
export interface getDataModelListQuery {
|
|
11
|
+
/**
|
|
12
|
+
* 搜索关键字
|
|
13
|
+
*/
|
|
14
|
+
keyword?: string;
|
|
15
|
+
}
|
|
10
16
|
export interface getInfoQuery {
|
|
11
17
|
/**
|
|
12
18
|
* id
|
|
@@ -15,7 +21,11 @@ export interface getInfoQuery {
|
|
|
15
21
|
}
|
|
16
22
|
export interface getListQuery {
|
|
17
23
|
/**
|
|
18
|
-
*
|
|
24
|
+
* 搜索关键字
|
|
25
|
+
*/
|
|
26
|
+
keyword?: string;
|
|
27
|
+
/**
|
|
28
|
+
* 模型key
|
|
19
29
|
*/
|
|
20
30
|
modelKey: string;
|
|
21
31
|
}
|
|
@@ -29,6 +39,12 @@ export interface getPageListQuery {
|
|
|
29
39
|
*/
|
|
30
40
|
pageSize?: number;
|
|
31
41
|
}
|
|
42
|
+
export interface getViewModelListQuery {
|
|
43
|
+
/**
|
|
44
|
+
* 搜索关键字
|
|
45
|
+
*/
|
|
46
|
+
keyword?: string;
|
|
47
|
+
}
|
|
32
48
|
export interface putIdPathParams {
|
|
33
49
|
id: string;
|
|
34
50
|
}
|
|
@@ -51,6 +67,7 @@ export interface ModelMethodService {
|
|
|
51
67
|
* 数据模型方法列表
|
|
52
68
|
*/
|
|
53
69
|
getDataModelList(
|
|
70
|
+
query: getDataModelListQuery,
|
|
54
71
|
config?: Partial<AxiosRequestConfig>,
|
|
55
72
|
): Promise<ModelMethodResponse[]>;
|
|
56
73
|
/**
|
|
@@ -78,6 +95,7 @@ export interface ModelMethodService {
|
|
|
78
95
|
* 视图模型方法列表
|
|
79
96
|
*/
|
|
80
97
|
getViewModelList(
|
|
98
|
+
query: getViewModelListQuery,
|
|
81
99
|
config?: Partial<AxiosRequestConfig>,
|
|
82
100
|
): Promise<ModelMethodResponse[]>;
|
|
83
101
|
/**
|
|
@@ -203,6 +203,10 @@ export interface OnlineFormTmplService {
|
|
|
203
203
|
data: DocumentInfo4Req,
|
|
204
204
|
config?: Partial<AxiosRequestConfig>,
|
|
205
205
|
): Promise<OnlineFormTmplResponse[]>;
|
|
206
|
+
/**
|
|
207
|
+
* 是否包含OCR模块权限
|
|
208
|
+
*/
|
|
209
|
+
getIsOcrGranted(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
206
210
|
/**
|
|
207
211
|
* 获取所有基础表单和流程表单
|
|
208
212
|
*/
|
|
@@ -118,6 +118,10 @@ export interface getAllUserPageListQuery {
|
|
|
118
118
|
* 任务类型
|
|
119
119
|
*/
|
|
120
120
|
taskType?: string;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
*/
|
|
124
|
+
taskTypeList?: string[];
|
|
121
125
|
/**
|
|
122
126
|
* 表单任务名称
|
|
123
127
|
*/
|
|
@@ -236,6 +240,10 @@ export interface getPageListQuery {
|
|
|
236
240
|
* 任务类型
|
|
237
241
|
*/
|
|
238
242
|
taskType?: string;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
*/
|
|
246
|
+
taskTypeList?: string[];
|
|
239
247
|
/**
|
|
240
248
|
* 表单任务名称
|
|
241
249
|
*/
|
|
@@ -8069,6 +8069,20 @@ export interface EnumModelFieldResponse {
|
|
|
8069
8069
|
*/
|
|
8070
8070
|
value?: string;
|
|
8071
8071
|
}
|
|
8072
|
+
export interface EnumModelFieldSortReq {
|
|
8073
|
+
/**
|
|
8074
|
+
* 枚举模型id
|
|
8075
|
+
*
|
|
8076
|
+
* @type string
|
|
8077
|
+
*/
|
|
8078
|
+
enumModelId?: string;
|
|
8079
|
+
/**
|
|
8080
|
+
*
|
|
8081
|
+
*
|
|
8082
|
+
* @type string[]
|
|
8083
|
+
*/
|
|
8084
|
+
ids?: string[];
|
|
8085
|
+
}
|
|
8072
8086
|
export interface EnumModelRequest {
|
|
8073
8087
|
/**
|
|
8074
8088
|
* 分类id
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MedProService } from './apis/
|
|
1
|
+
import type { MedProService } from './apis/medPro.service';
|
|
2
2
|
import type { AppBranchService } from './apis/app-branch.service';
|
|
3
3
|
import type { AppGlobalSettingsService } from './apis/app-global-settings.service';
|
|
4
4
|
import type { AppGrantedUserService } from './apis/app-granted-user.service';
|
|
@@ -2015,8 +2015,7 @@ export const apiConfig = [
|
|
|
2015
2015
|
{
|
|
2016
2016
|
mode: "get",
|
|
2017
2017
|
method: "getModuleAuth",
|
|
2018
|
-
path: "moduleAuth"
|
|
2019
|
-
hasQuery: true
|
|
2018
|
+
path: "moduleAuth"
|
|
2020
2019
|
},
|
|
2021
2020
|
{
|
|
2022
2021
|
mode: "get",
|
|
@@ -2063,6 +2062,12 @@ export const apiConfig = [
|
|
|
2063
2062
|
method: "getPageList",
|
|
2064
2063
|
path: "page/list",
|
|
2065
2064
|
hasQuery: true
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
mode: "get",
|
|
2068
|
+
method: "getTenantLog",
|
|
2069
|
+
path: "tenant/log",
|
|
2070
|
+
hasQuery: true
|
|
2066
2071
|
}
|
|
2067
2072
|
]
|
|
2068
2073
|
},
|
|
@@ -2711,6 +2716,11 @@ export const apiConfig = [
|
|
|
2711
2716
|
path: "base",
|
|
2712
2717
|
hasData: true
|
|
2713
2718
|
},
|
|
2719
|
+
{
|
|
2720
|
+
mode: "get",
|
|
2721
|
+
method: "getCardLoginCfg",
|
|
2722
|
+
path: "card/login/cfg"
|
|
2723
|
+
},
|
|
2714
2724
|
{
|
|
2715
2725
|
mode: "post",
|
|
2716
2726
|
method: "postDingtalk",
|
|
@@ -5498,6 +5508,11 @@ export const apiConfig = [
|
|
|
5498
5508
|
hasPathParams: true,
|
|
5499
5509
|
hasData: true
|
|
5500
5510
|
},
|
|
5511
|
+
{
|
|
5512
|
+
mode: "get",
|
|
5513
|
+
method: "getCallbackLogin",
|
|
5514
|
+
path: "callback/login"
|
|
5515
|
+
},
|
|
5501
5516
|
{
|
|
5502
5517
|
mode: "get",
|
|
5503
5518
|
method: "getDataSourceExecuteSelect",
|
|
@@ -5585,8 +5600,7 @@ export const apiConfig = [
|
|
|
5585
5600
|
{
|
|
5586
5601
|
mode: "get",
|
|
5587
5602
|
method: "getLicenseModuleAuth",
|
|
5588
|
-
path: "license/moduleAuth"
|
|
5589
|
-
hasQuery: true
|
|
5603
|
+
path: "license/moduleAuth"
|
|
5590
5604
|
},
|
|
5591
5605
|
{
|
|
5592
5606
|
mode: "post",
|
|
@@ -28,6 +28,7 @@ import type {
|
|
|
28
28
|
TenantUserSearchRequest,
|
|
29
29
|
UserWithUserExtraDTO,
|
|
30
30
|
UserIdsDTO,
|
|
31
|
+
RedirectView,
|
|
31
32
|
DataSourceUpdateRequest,
|
|
32
33
|
DatasourceExtDTO,
|
|
33
34
|
DataSourcePageRequest,
|
|
@@ -509,12 +510,6 @@ export interface getLicenseGetAppEffectiveLicenseQuery {
|
|
|
509
510
|
*/
|
|
510
511
|
env: string;
|
|
511
512
|
}
|
|
512
|
-
export interface getLicenseModuleAuthQuery {
|
|
513
|
-
/**
|
|
514
|
-
* 授权模块
|
|
515
|
-
*/
|
|
516
|
-
module?: string;
|
|
517
|
-
}
|
|
518
513
|
export interface getLoginSsoOauth2AuthorizeQuery {
|
|
519
514
|
/**
|
|
520
515
|
* 授权码
|
|
@@ -1155,6 +1150,10 @@ export interface ApiService {
|
|
|
1155
1150
|
data: UserSaveRequest,
|
|
1156
1151
|
config?: Partial<AxiosRequestConfig>,
|
|
1157
1152
|
): Promise<string>;
|
|
1153
|
+
/**
|
|
1154
|
+
* 重定向到微软登录页
|
|
1155
|
+
*/
|
|
1156
|
+
getCallbackLogin(config?: Partial<AxiosRequestConfig>): Promise<RedirectView>;
|
|
1158
1157
|
/**
|
|
1159
1158
|
* 查询数据-iPaaS
|
|
1160
1159
|
*/
|
|
@@ -1254,10 +1253,7 @@ export interface ApiService {
|
|
|
1254
1253
|
/**
|
|
1255
1254
|
* 判断对应模块是否已进行授权
|
|
1256
1255
|
*/
|
|
1257
|
-
getLicenseModuleAuth(
|
|
1258
|
-
query: getLicenseModuleAuthQuery,
|
|
1259
|
-
config?: Partial<AxiosRequestConfig>,
|
|
1260
|
-
): Promise<boolean>;
|
|
1256
|
+
getLicenseModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
1261
1257
|
/**
|
|
1262
1258
|
* 用户登录日志分页查询
|
|
1263
1259
|
*/
|
|
@@ -203,6 +203,10 @@ export interface getModelMetaListQuery {
|
|
|
203
203
|
*
|
|
204
204
|
*/
|
|
205
205
|
modifyUserName?: string;
|
|
206
|
+
/**
|
|
207
|
+
* 所属模块(实体、枚举、web页面 、view_model_module/视图模型模块 、data_model/数据模型模块、document_module/单据)
|
|
208
|
+
*/
|
|
209
|
+
module?: string;
|
|
206
210
|
/**
|
|
207
211
|
*
|
|
208
212
|
*/
|
|
@@ -714,7 +718,7 @@ export interface AppService {
|
|
|
714
718
|
postUploadAppPkg(
|
|
715
719
|
data: UploadFileData,
|
|
716
720
|
config?: Partial<AxiosRequestConfig>,
|
|
717
|
-
): Promise<string
|
|
721
|
+
): Promise<IHttpResponse<string>>;
|
|
718
722
|
/**
|
|
719
723
|
* 修改
|
|
720
724
|
*/
|
|
@@ -28,14 +28,14 @@ export interface FileService {
|
|
|
28
28
|
query: postUploadCommonQuery,
|
|
29
29
|
data: UploadFileData,
|
|
30
30
|
config?: Partial<AxiosRequestConfig>,
|
|
31
|
-
): Promise<string
|
|
31
|
+
): Promise<IHttpResponse<string>>;
|
|
32
32
|
/**
|
|
33
33
|
* 文件上传minio用作数据集
|
|
34
34
|
*/
|
|
35
35
|
postUploadDataset(
|
|
36
36
|
data: UploadFileData,
|
|
37
37
|
config?: Partial<AxiosRequestConfig>,
|
|
38
|
-
): Promise<object
|
|
38
|
+
): Promise<IHttpResponse<object>>;
|
|
39
39
|
/**
|
|
40
40
|
* 文件上传minio
|
|
41
41
|
*/
|
|
@@ -43,5 +43,5 @@ export interface FileService {
|
|
|
43
43
|
query: postUploadImageQuery,
|
|
44
44
|
data: UploadFileData,
|
|
45
45
|
config?: Partial<AxiosRequestConfig>,
|
|
46
|
-
): Promise<string
|
|
46
|
+
): Promise<IHttpResponse<string>>;
|
|
47
47
|
}
|
|
@@ -98,12 +98,6 @@ export interface getInfoQuery {
|
|
|
98
98
|
*/
|
|
99
99
|
licenseId: string;
|
|
100
100
|
}
|
|
101
|
-
export interface getModuleAuthQuery {
|
|
102
|
-
/**
|
|
103
|
-
* 授权模块
|
|
104
|
-
*/
|
|
105
|
-
module?: string;
|
|
106
|
-
}
|
|
107
101
|
export interface getPageListQuery {
|
|
108
102
|
/**
|
|
109
103
|
* 应用id
|
|
@@ -223,10 +217,7 @@ export interface LicenseService {
|
|
|
223
217
|
/**
|
|
224
218
|
* 判断对应模块是否已进行授权
|
|
225
219
|
*/
|
|
226
|
-
getModuleAuth(
|
|
227
|
-
query: getModuleAuthQuery,
|
|
228
|
-
config?: Partial<AxiosRequestConfig>,
|
|
229
|
-
): Promise<boolean>;
|
|
220
|
+
getModuleAuth(config?: Partial<AxiosRequestConfig>): Promise<boolean>;
|
|
230
221
|
/**
|
|
231
222
|
* 平台/应用,授权列表
|
|
232
223
|
*/
|
|
@@ -27,6 +27,12 @@ export interface getPageListQuery {
|
|
|
27
27
|
*/
|
|
28
28
|
startTime?: string;
|
|
29
29
|
}
|
|
30
|
+
export interface getTenantLogQuery {
|
|
31
|
+
/**
|
|
32
|
+
* 租户ID
|
|
33
|
+
*/
|
|
34
|
+
tenantId: string;
|
|
35
|
+
}
|
|
30
36
|
export interface LoginLogService {
|
|
31
37
|
/**
|
|
32
38
|
* 登录足迹分页列表
|
|
@@ -35,4 +41,11 @@ export interface LoginLogService {
|
|
|
35
41
|
query: getPageListQuery,
|
|
36
42
|
config?: Partial<AxiosRequestConfig>,
|
|
37
43
|
): Promise<IPage<LoginLogResponse>>;
|
|
44
|
+
/**
|
|
45
|
+
* 最近登录租户
|
|
46
|
+
*/
|
|
47
|
+
getTenantLog(
|
|
48
|
+
query: getTenantLogQuery,
|
|
49
|
+
config?: Partial<AxiosRequestConfig>,
|
|
50
|
+
): Promise<string>;
|
|
38
51
|
}
|