fx-spec-hub 0.0.23 → 0.0.25
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/data/admin-backend-api.json +350 -20
- package/package.json +1 -1
|
@@ -25164,6 +25164,115 @@
|
|
|
25164
25164
|
"security": []
|
|
25165
25165
|
}
|
|
25166
25166
|
},
|
|
25167
|
+
"/api/v1/ticket/auditLogs": {
|
|
25168
|
+
"post": {
|
|
25169
|
+
"summary": "根据业务类型查询审批日志",
|
|
25170
|
+
"deprecated": false,
|
|
25171
|
+
"description": "根据 bizCode 列表分页查询工单及其审批日志,支持状态和时间范围过滤",
|
|
25172
|
+
"tags": [
|
|
25173
|
+
"Ticket"
|
|
25174
|
+
],
|
|
25175
|
+
"parameters": [],
|
|
25176
|
+
"requestBody": {
|
|
25177
|
+
"content": {
|
|
25178
|
+
"application/json": {
|
|
25179
|
+
"schema": {
|
|
25180
|
+
"$ref": "#/components/schemas/models.ApprovalLogsByBizCodeReq"
|
|
25181
|
+
}
|
|
25182
|
+
}
|
|
25183
|
+
},
|
|
25184
|
+
"required": true
|
|
25185
|
+
},
|
|
25186
|
+
"responses": {
|
|
25187
|
+
"200": {
|
|
25188
|
+
"description": "OK",
|
|
25189
|
+
"content": {
|
|
25190
|
+
"application/json": {
|
|
25191
|
+
"schema": {
|
|
25192
|
+
"allOf": [
|
|
25193
|
+
{
|
|
25194
|
+
"$ref": "#/components/schemas/response.Response"
|
|
25195
|
+
},
|
|
25196
|
+
{
|
|
25197
|
+
"type": "object",
|
|
25198
|
+
"properties": {
|
|
25199
|
+
"data": {
|
|
25200
|
+
"allOf": [
|
|
25201
|
+
{
|
|
25202
|
+
"$ref": "#/components/schemas/response.Page"
|
|
25203
|
+
},
|
|
25204
|
+
{
|
|
25205
|
+
"type": "object",
|
|
25206
|
+
"properties": {
|
|
25207
|
+
"list": {
|
|
25208
|
+
"type": "array",
|
|
25209
|
+
"items": {
|
|
25210
|
+
"$ref": "#/components/schemas/models.AuditLogFlatItem"
|
|
25211
|
+
}
|
|
25212
|
+
}
|
|
25213
|
+
}
|
|
25214
|
+
}
|
|
25215
|
+
]
|
|
25216
|
+
}
|
|
25217
|
+
}
|
|
25218
|
+
}
|
|
25219
|
+
]
|
|
25220
|
+
}
|
|
25221
|
+
}
|
|
25222
|
+
},
|
|
25223
|
+
"headers": {}
|
|
25224
|
+
}
|
|
25225
|
+
},
|
|
25226
|
+
"security": []
|
|
25227
|
+
}
|
|
25228
|
+
},
|
|
25229
|
+
"/api/v1/ticket/statusByBizId": {
|
|
25230
|
+
"post": {
|
|
25231
|
+
"summary": "根据业务ID查询最新工单状态",
|
|
25232
|
+
"deprecated": false,
|
|
25233
|
+
"description": "根据 bizId 查询该业务下每种 bizCode 最新的工单状态",
|
|
25234
|
+
"tags": [
|
|
25235
|
+
"Ticket"
|
|
25236
|
+
],
|
|
25237
|
+
"parameters": [],
|
|
25238
|
+
"requestBody": {
|
|
25239
|
+
"content": {
|
|
25240
|
+
"application/json": {
|
|
25241
|
+
"schema": {
|
|
25242
|
+
"$ref": "#/components/schemas/models.ApprovalLogsByBizIdReq"
|
|
25243
|
+
}
|
|
25244
|
+
}
|
|
25245
|
+
},
|
|
25246
|
+
"required": true
|
|
25247
|
+
},
|
|
25248
|
+
"responses": {
|
|
25249
|
+
"200": {
|
|
25250
|
+
"description": "OK",
|
|
25251
|
+
"content": {
|
|
25252
|
+
"application/json": {
|
|
25253
|
+
"schema": {
|
|
25254
|
+
"allOf": [
|
|
25255
|
+
{
|
|
25256
|
+
"$ref": "#/components/schemas/response.Response"
|
|
25257
|
+
},
|
|
25258
|
+
{
|
|
25259
|
+
"type": "object",
|
|
25260
|
+
"properties": {
|
|
25261
|
+
"data": {
|
|
25262
|
+
"$ref": "#/components/schemas/models.TicketStatusByBizIdResp"
|
|
25263
|
+
}
|
|
25264
|
+
}
|
|
25265
|
+
}
|
|
25266
|
+
]
|
|
25267
|
+
}
|
|
25268
|
+
}
|
|
25269
|
+
},
|
|
25270
|
+
"headers": {}
|
|
25271
|
+
}
|
|
25272
|
+
},
|
|
25273
|
+
"security": []
|
|
25274
|
+
}
|
|
25275
|
+
},
|
|
25167
25276
|
"/api/v1/cms": {
|
|
25168
25277
|
"get": {
|
|
25169
25278
|
"summary": "获取数据",
|
|
@@ -25219,6 +25328,216 @@
|
|
|
25219
25328
|
},
|
|
25220
25329
|
"components": {
|
|
25221
25330
|
"schemas": {
|
|
25331
|
+
"models.TicketStatusByBizIdResp": {
|
|
25332
|
+
"type": "object",
|
|
25333
|
+
"properties": {
|
|
25334
|
+
"tickets": {
|
|
25335
|
+
"description": "按业务类型分组的最新工单状态",
|
|
25336
|
+
"type": "array",
|
|
25337
|
+
"items": {
|
|
25338
|
+
"$ref": "#/components/schemas/models.BizTicketStatus"
|
|
25339
|
+
}
|
|
25340
|
+
}
|
|
25341
|
+
}
|
|
25342
|
+
},
|
|
25343
|
+
"models.BizTicketStatus": {
|
|
25344
|
+
"type": "object",
|
|
25345
|
+
"properties": {
|
|
25346
|
+
"bizType": {
|
|
25347
|
+
"description": "业务类型编码",
|
|
25348
|
+
"type": "string"
|
|
25349
|
+
},
|
|
25350
|
+
"bizTypeName": {
|
|
25351
|
+
"description": "业务类型名称",
|
|
25352
|
+
"type": "string"
|
|
25353
|
+
},
|
|
25354
|
+
"createdAt": {
|
|
25355
|
+
"description": "创建时间(毫秒时间戳)",
|
|
25356
|
+
"type": "integer"
|
|
25357
|
+
},
|
|
25358
|
+
"creator": {
|
|
25359
|
+
"description": "发起人",
|
|
25360
|
+
"type": "string"
|
|
25361
|
+
},
|
|
25362
|
+
"remark": {
|
|
25363
|
+
"description": "发起原因",
|
|
25364
|
+
"type": "string"
|
|
25365
|
+
},
|
|
25366
|
+
"source": {
|
|
25367
|
+
"description": "工单来源",
|
|
25368
|
+
"type": "string"
|
|
25369
|
+
},
|
|
25370
|
+
"status": {
|
|
25371
|
+
"description": "工单状态 SUBMITTED/PENDING/APPROVED/REJECTED/RETURNED/CANCELED",
|
|
25372
|
+
"type": "string"
|
|
25373
|
+
},
|
|
25374
|
+
"ticketNo": {
|
|
25375
|
+
"description": "工单编号",
|
|
25376
|
+
"type": "string"
|
|
25377
|
+
},
|
|
25378
|
+
"ticketType": {
|
|
25379
|
+
"description": "工单体系 ADT/MNT/USR",
|
|
25380
|
+
"type": "string"
|
|
25381
|
+
},
|
|
25382
|
+
"updatedAt": {
|
|
25383
|
+
"description": "最后更新时间(毫秒时间戳)",
|
|
25384
|
+
"type": "integer"
|
|
25385
|
+
}
|
|
25386
|
+
}
|
|
25387
|
+
},
|
|
25388
|
+
"models.AuditLogFlatItem": {
|
|
25389
|
+
"type": "object",
|
|
25390
|
+
"properties": {
|
|
25391
|
+
"action": {
|
|
25392
|
+
"type": "string"
|
|
25393
|
+
},
|
|
25394
|
+
"approverId": {
|
|
25395
|
+
"type": "string"
|
|
25396
|
+
},
|
|
25397
|
+
"approverName": {
|
|
25398
|
+
"type": "string"
|
|
25399
|
+
},
|
|
25400
|
+
"attachments": {
|
|
25401
|
+
"description": "审核附件",
|
|
25402
|
+
"type": "array",
|
|
25403
|
+
"items": {
|
|
25404
|
+
"type": "integer"
|
|
25405
|
+
}
|
|
25406
|
+
},
|
|
25407
|
+
"bizCode": {
|
|
25408
|
+
"type": "string"
|
|
25409
|
+
},
|
|
25410
|
+
"bizCodeName": {
|
|
25411
|
+
"type": "string"
|
|
25412
|
+
},
|
|
25413
|
+
"bizId": {
|
|
25414
|
+
"type": "string"
|
|
25415
|
+
},
|
|
25416
|
+
"createdAt": {
|
|
25417
|
+
"type": "integer"
|
|
25418
|
+
},
|
|
25419
|
+
"id": {
|
|
25420
|
+
"type": "integer"
|
|
25421
|
+
},
|
|
25422
|
+
"instanceId": {
|
|
25423
|
+
"type": "string"
|
|
25424
|
+
},
|
|
25425
|
+
"level": {
|
|
25426
|
+
"type": "integer"
|
|
25427
|
+
},
|
|
25428
|
+
"remark": {
|
|
25429
|
+
"type": "string"
|
|
25430
|
+
},
|
|
25431
|
+
"role": {
|
|
25432
|
+
"type": "string"
|
|
25433
|
+
}
|
|
25434
|
+
}
|
|
25435
|
+
},
|
|
25436
|
+
"models.ApprovalLogsByBizIdReq": {
|
|
25437
|
+
"type": "object",
|
|
25438
|
+
"required": [
|
|
25439
|
+
"bizId"
|
|
25440
|
+
],
|
|
25441
|
+
"properties": {
|
|
25442
|
+
"bizId": {
|
|
25443
|
+
"description": "业务ID",
|
|
25444
|
+
"type": "string"
|
|
25445
|
+
}
|
|
25446
|
+
}
|
|
25447
|
+
},
|
|
25448
|
+
"models.ApprovalLogsByBizCodeReq": {
|
|
25449
|
+
"type": "object",
|
|
25450
|
+
"properties": {
|
|
25451
|
+
"bizCode": {
|
|
25452
|
+
"description": "业务类型编码列表(可选,为空则查全部)",
|
|
25453
|
+
"type": "array",
|
|
25454
|
+
"items": {
|
|
25455
|
+
"type": "string"
|
|
25456
|
+
}
|
|
25457
|
+
},
|
|
25458
|
+
"bizId": {
|
|
25459
|
+
"description": "业务ID(可选,精确匹配)",
|
|
25460
|
+
"type": "string"
|
|
25461
|
+
},
|
|
25462
|
+
"endTime": {
|
|
25463
|
+
"description": "创建时间范围-止(毫秒时间戳)",
|
|
25464
|
+
"type": "integer"
|
|
25465
|
+
},
|
|
25466
|
+
"pageIndex": {
|
|
25467
|
+
"type": "integer"
|
|
25468
|
+
},
|
|
25469
|
+
"pageSize": {
|
|
25470
|
+
"type": "integer"
|
|
25471
|
+
},
|
|
25472
|
+
"startTime": {
|
|
25473
|
+
"description": "创建时间范围-起(毫秒时间戳)",
|
|
25474
|
+
"type": "integer"
|
|
25475
|
+
},
|
|
25476
|
+
"status": {
|
|
25477
|
+
"description": "工单状态筛选(可选,支持多选)",
|
|
25478
|
+
"type": "array",
|
|
25479
|
+
"items": {
|
|
25480
|
+
"type": "string"
|
|
25481
|
+
}
|
|
25482
|
+
}
|
|
25483
|
+
}
|
|
25484
|
+
},
|
|
25485
|
+
"models.ApprovalLogItem": {
|
|
25486
|
+
"type": "object",
|
|
25487
|
+
"properties": {
|
|
25488
|
+
"accountId": {
|
|
25489
|
+
"description": "关联用户账号",
|
|
25490
|
+
"type": "string"
|
|
25491
|
+
},
|
|
25492
|
+
"bizCode": {
|
|
25493
|
+
"description": "业务类型编码",
|
|
25494
|
+
"type": "string"
|
|
25495
|
+
},
|
|
25496
|
+
"bizCodeName": {
|
|
25497
|
+
"description": "业务类型名称",
|
|
25498
|
+
"type": "string"
|
|
25499
|
+
},
|
|
25500
|
+
"bizId": {
|
|
25501
|
+
"description": "业务ID",
|
|
25502
|
+
"type": "string"
|
|
25503
|
+
},
|
|
25504
|
+
"createdAt": {
|
|
25505
|
+
"description": "创建时间(毫秒)",
|
|
25506
|
+
"type": "integer"
|
|
25507
|
+
},
|
|
25508
|
+
"creator": {
|
|
25509
|
+
"description": "发起人",
|
|
25510
|
+
"type": "string"
|
|
25511
|
+
},
|
|
25512
|
+
"logs": {
|
|
25513
|
+
"description": "审批日志列表",
|
|
25514
|
+
"type": "array",
|
|
25515
|
+
"items": {
|
|
25516
|
+
"$ref": "#/components/schemas/models.ApprovalLogDTO"
|
|
25517
|
+
}
|
|
25518
|
+
},
|
|
25519
|
+
"remark": {
|
|
25520
|
+
"description": "发起原因",
|
|
25521
|
+
"type": "string"
|
|
25522
|
+
},
|
|
25523
|
+
"source": {
|
|
25524
|
+
"description": "工单来源",
|
|
25525
|
+
"type": "string"
|
|
25526
|
+
},
|
|
25527
|
+
"status": {
|
|
25528
|
+
"description": "工单状态",
|
|
25529
|
+
"type": "string"
|
|
25530
|
+
},
|
|
25531
|
+
"ticketNo": {
|
|
25532
|
+
"description": "工单编号",
|
|
25533
|
+
"type": "string"
|
|
25534
|
+
},
|
|
25535
|
+
"ticketType": {
|
|
25536
|
+
"description": "工单体系 ADT/MNT/USR",
|
|
25537
|
+
"type": "string"
|
|
25538
|
+
}
|
|
25539
|
+
}
|
|
25540
|
+
},
|
|
25222
25541
|
"models.AttachmentItem": {
|
|
25223
25542
|
"type": "object",
|
|
25224
25543
|
"properties": {
|
|
@@ -26362,10 +26681,6 @@
|
|
|
26362
26681
|
"description": "创建时间",
|
|
26363
26682
|
"type": "integer"
|
|
26364
26683
|
},
|
|
26365
|
-
"currentLevel": {
|
|
26366
|
-
"description": "当前审批层级",
|
|
26367
|
-
"type": "integer"
|
|
26368
|
-
},
|
|
26369
26684
|
"ruleDescription": {
|
|
26370
26685
|
"description": "规则描述",
|
|
26371
26686
|
"type": "string"
|
|
@@ -26394,32 +26709,24 @@
|
|
|
26394
26709
|
"description": "STR Alert ID",
|
|
26395
26710
|
"type": "integer"
|
|
26396
26711
|
},
|
|
26397
|
-
"
|
|
26398
|
-
"description": "
|
|
26712
|
+
"ticketNo": {
|
|
26713
|
+
"description": "工单编号",
|
|
26399
26714
|
"type": "string"
|
|
26400
26715
|
},
|
|
26401
|
-
"
|
|
26402
|
-
"description": "
|
|
26403
|
-
"type": "
|
|
26716
|
+
"ticketStatus": {
|
|
26717
|
+
"description": "工单状态",
|
|
26718
|
+
"type": "string"
|
|
26404
26719
|
},
|
|
26405
26720
|
"userId": {
|
|
26406
26721
|
"description": "用户ID",
|
|
26407
26722
|
"type": "string"
|
|
26408
26723
|
},
|
|
26409
|
-
"workflowInstanceId": {
|
|
26410
|
-
"description": "工作流实例ID",
|
|
26411
|
-
"type": "string"
|
|
26412
|
-
},
|
|
26413
26724
|
"workflowLogs": {
|
|
26414
26725
|
"description": "审批日志",
|
|
26415
26726
|
"type": "array",
|
|
26416
26727
|
"items": {
|
|
26417
26728
|
"$ref": "#/components/schemas/models.WorkflowLogItem"
|
|
26418
26729
|
}
|
|
26419
|
-
},
|
|
26420
|
-
"workflowStatus": {
|
|
26421
|
-
"description": "工作流状态 // PENDING:审核中 APPROVE:通过 REJECT:拒绝",
|
|
26422
|
-
"type": "string"
|
|
26423
26730
|
}
|
|
26424
26731
|
}
|
|
26425
26732
|
},
|
|
@@ -29142,7 +29449,7 @@
|
|
|
29142
29449
|
}
|
|
29143
29450
|
},
|
|
29144
29451
|
"coinType": {
|
|
29145
|
-
"description": "
|
|
29452
|
+
"description": "币种:ALL(所有)/ALL_PAUSE(全部暂停)/ALL_ENABLE(全部启用)/具体币种(如ETH)",
|
|
29146
29453
|
"type": "string"
|
|
29147
29454
|
},
|
|
29148
29455
|
"networkType": {
|
|
@@ -29226,7 +29533,7 @@
|
|
|
29226
29533
|
"type": "object",
|
|
29227
29534
|
"properties": {
|
|
29228
29535
|
"coinType": {
|
|
29229
|
-
"description": "
|
|
29536
|
+
"description": "币种:ALL(所有)/ALL_PAUSE(全部暂停)/ALL_ENABLE(全部启用)/具体币种(如ETH)",
|
|
29230
29537
|
"type": "string"
|
|
29231
29538
|
},
|
|
29232
29539
|
"networkType": {
|
|
@@ -33464,7 +33771,7 @@
|
|
|
33464
33771
|
},
|
|
33465
33772
|
"txId": {
|
|
33466
33773
|
"description": "交易ID",
|
|
33467
|
-
"type": "
|
|
33774
|
+
"type": "string"
|
|
33468
33775
|
}
|
|
33469
33776
|
}
|
|
33470
33777
|
},
|
|
@@ -34911,9 +35218,19 @@
|
|
|
34911
35218
|
"accountID": {
|
|
34912
35219
|
"type": "string"
|
|
34913
35220
|
},
|
|
35221
|
+
"attachments": {
|
|
35222
|
+
"description": "附件",
|
|
35223
|
+
"type": "array",
|
|
35224
|
+
"items": {
|
|
35225
|
+
"$ref": "#/components/schemas/models.AttachmentItem"
|
|
35226
|
+
}
|
|
35227
|
+
},
|
|
34914
35228
|
"auditor": {
|
|
34915
35229
|
"type": "string"
|
|
34916
35230
|
},
|
|
35231
|
+
"bizType": {
|
|
35232
|
+
"type": "string"
|
|
35233
|
+
},
|
|
34917
35234
|
"kycID": {
|
|
34918
35235
|
"type": "integer"
|
|
34919
35236
|
},
|
|
@@ -38258,6 +38575,9 @@
|
|
|
38258
38575
|
"auditor": {
|
|
38259
38576
|
"type": "string"
|
|
38260
38577
|
},
|
|
38578
|
+
"bizType": {
|
|
38579
|
+
"type": "string"
|
|
38580
|
+
},
|
|
38261
38581
|
"imageIds": {
|
|
38262
38582
|
"type": "array",
|
|
38263
38583
|
"items": {
|
|
@@ -38299,6 +38619,9 @@
|
|
|
38299
38619
|
"auditor": {
|
|
38300
38620
|
"type": "string"
|
|
38301
38621
|
},
|
|
38622
|
+
"bizType": {
|
|
38623
|
+
"type": "string"
|
|
38624
|
+
},
|
|
38302
38625
|
"kycID": {
|
|
38303
38626
|
"type": "integer"
|
|
38304
38627
|
},
|
|
@@ -38334,6 +38657,9 @@
|
|
|
38334
38657
|
"auditor": {
|
|
38335
38658
|
"type": "string"
|
|
38336
38659
|
},
|
|
38660
|
+
"bizType": {
|
|
38661
|
+
"type": "string"
|
|
38662
|
+
},
|
|
38337
38663
|
"kycID": {
|
|
38338
38664
|
"type": "integer"
|
|
38339
38665
|
},
|
|
@@ -38789,6 +39115,10 @@
|
|
|
38789
39115
|
"txId": {
|
|
38790
39116
|
"description": "交易ID",
|
|
38791
39117
|
"type": "string"
|
|
39118
|
+
},
|
|
39119
|
+
"userId": {
|
|
39120
|
+
"description": "用户ID",
|
|
39121
|
+
"type": "string"
|
|
38792
39122
|
}
|
|
38793
39123
|
}
|
|
38794
39124
|
},
|