sino-bc-cli 1.8.24 → 1.8.26

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.
Files changed (34) hide show
  1. package/dist/SKILL.md +30 -22
  2. package/dist/affordance/biz-line.md +7 -13
  3. package/dist/affordance/common-file.md +23 -0
  4. package/dist/affordance/wallet.md +207 -0
  5. package/dist/api-doc/README.md +4 -2
  6. package/dist/api-doc/oapi/biz-line-ai-strategy.md +45 -0
  7. package/dist/api-doc/oapi/biz-line-query.md +10 -3
  8. package/dist/api-doc/oapi/biz-line-strategy.md +12 -44
  9. package/dist/api-doc/oapi/common-file.md +44 -0
  10. package/dist/api-doc/oapi/wallet-bill.md +118 -0
  11. package/dist/api-doc/oapi/wallet-invoice.md +117 -0
  12. package/dist/api-doc/oapi/wallet-prepaid.md +249 -0
  13. package/dist/api-doc/oapi/wallet-quota.md +17 -0
  14. package/dist/api-doc/oapi/wallet-reconciliation.md +88 -0
  15. package/dist/generated/api-catalog.json +4183 -91
  16. package/dist/index.js +1 -1
  17. package/dist/skills/custom/biz-line-strategy-generate/SKILL.md +2 -3
  18. package/dist/skills/custom/biz-line-strategy-generate/references/api-flow.md +27 -1
  19. package/dist/skills/custom/biz-line-strategy-generate/references/output-excel.md +1 -1
  20. package/dist/skills/custom/biz-line-strategy-generate/references/runtime.md +3 -3
  21. package/dist/skills/custom/biz-line-strategy-generate/references/spec.md +2 -9
  22. package/dist/skills/custom/biz-line-strategy-generate/scripts/build_report.py +79 -225
  23. package/dist/skills/custom/biz-line-strategy-generate/scripts/cli_json.py +25 -91
  24. package/dist/skills/custom/biz-line-strategy-generate/scripts/fetch_data.py +5 -8
  25. package/dist/skills/custom/biz-line-strategy-generate/scripts/summarize.py +400 -588
  26. package/dist/skills/custom/biz-line-strategy-generate/scripts/test_strategy_rules.py +6 -53
  27. package/dist/skills/custom/biz-line-strategy-generate/scripts/test_workflow.py +6 -168
  28. package/dist/skills/default/sino-bc-shared/SKILL.md +1 -1
  29. package/dist/skills/default/sino-bc-shared/references/output-contract.md +2 -2
  30. package/dist/skills/oapi/sino-bc-biz-line/SKILL.md +11 -4
  31. package/dist/skills/oapi/sino-bc-common-file/SKILL.md +42 -0
  32. package/dist/skills/oapi/sino-bc-file/SKILL.md +3 -2
  33. package/dist/skills/oapi/sino-bc-wallet/SKILL.md +72 -0
  34. package/package.json +1 -1
@@ -1482,44 +1482,6 @@
1482
1482
  "sso"
1483
1483
  ]
1484
1484
  },
1485
- {
1486
- "name": "biz-line-del",
1487
- "displayName": "删除业务线",
1488
- "description": "⚠️ 写操作。成功时 result 为 Boolean,表示是否删除成功。",
1489
- "group": "业务线策略",
1490
- "method": "POST",
1491
- "path": "/sino-opti-hive/biz-line/del",
1492
- "timeout": 180000,
1493
- "tag": "业务线策略",
1494
- "domain": "biz-line",
1495
- "shortcut": "+delete",
1496
- "risk": "high-risk-write",
1497
- "summary": "删除业务线",
1498
- "docFile": "biz-line-strategy.md",
1499
- "requestSchema": {
1500
- "type": "object",
1501
- "properties": {
1502
- "id": {
1503
- "type": "integer",
1504
- "format": "int64",
1505
- "title": "业务线ID",
1506
- "example": 1251
1507
- }
1508
- },
1509
- "required": [
1510
- "id"
1511
- ]
1512
- },
1513
- "responseSchema": {
1514
- "type": "boolean",
1515
- "description": "是否成功",
1516
- "title": "是否成功"
1517
- },
1518
- "tenant": false,
1519
- "roleScope": [
1520
- "sso"
1521
- ]
1522
- },
1523
1485
  {
1524
1486
  "name": "biz-line-strategy-list",
1525
1487
  "displayName": "查询投放策略分页列表",
@@ -2435,49 +2397,10 @@
2435
2397
  "sso"
2436
2398
  ]
2437
2399
  },
2438
- {
2439
- "name": "biz-line-strategy-del",
2440
- "displayName": "删除投放策略",
2441
- "description": "删除投放策略",
2442
- "group": "业务线策略",
2443
- "method": "POST",
2444
- "path": "/sino-opti-hive/biz-line/strategy/del",
2445
- "timeout": 180000,
2446
- "tag": "业务线策略",
2447
- "domain": "biz-line",
2448
- "shortcut": "+strategy-delete",
2449
- "risk": "high-risk-write",
2450
- "summary": "删除投放策略",
2451
- "docFile": "biz-line-strategy.md",
2452
- "requestSchema": {
2453
- "type": "object",
2454
- "properties": {
2455
- "id": {
2456
- "type": "integer",
2457
- "format": "int64",
2458
- "description": "通过 POST /sino-opti-hive/biz-line/strategy/list 取 id,或 POST /sino-opti-hive/biz-line/strategy/period-list 取 items.id",
2459
- "title": "投放策略ID",
2460
- "example": 1
2461
- }
2462
- },
2463
- "required": [
2464
- "id"
2465
- ]
2466
- },
2467
- "responseSchema": {
2468
- "type": "boolean",
2469
- "description": "是否成功",
2470
- "title": "是否成功"
2471
- },
2472
- "tenant": false,
2473
- "roleScope": [
2474
- "sso"
2475
- ]
2476
- },
2477
2400
  {
2478
2401
  "name": "biz-line-open-dict-items",
2479
- "displayName": "查询业务线和策略投放品类字典",
2480
- "description": "查询投放品类字典,sceneCode 固定 PLACEMENT_CATEGORY。一级节点 = 投放行业,二级节点(children)= 投放品类,分别对应筛选参数 adCategoryIndustryId / adCategoryProjectId。已过滤 isOther=1 的「其他」。叶子节点 children 为 null。",
2402
+ "displayName": "查询业务线字典和策略标签",
2403
+ "description": "按sceneCode查询业务字典,使用GET Query参数,不传JSON请求体。sceneCode必填,不存在的场景返回空数组。\n\nAI策略生成前分别调用三次:BUDGET_STRATEGY(预算)、MEDIA_STRATEGY(媒介产品)、AUDIENCE_STRATEGY(受众定位)。三次都需传非空filterCondition,使用当前业务实际字典配置值;缺少该参数不会报错,而是直接返回[]。匹配规则为filter_condition等于传入值或为NULL(通用项)。不要据空数组自动推断该场景没有标签。\n\n将返回id分别填入保存接口budgetStrategyTags、mediaStrategyTags、audienceStrategyTags;不要传name或itemCode。此接口也保留PLACEMENT_CATEGORY(投放品类)和CUSTOMER_TYPE(客户类型)用途,二者过滤“其他”项;策略场景不做该过滤。两级场景返回树,叶子children可为null。\n\n策略调用示例:/sino-opti-hive/dict/items?sceneCode=BUDGET_STRATEGY&filterCondition={{strategyFilterCondition}}。变量必须替换为实际配置值;另外两类策略仅替换sceneCode。投放品类调用示例:/sino-opti-hive/dict/items?sceneCode=PLACEMENT_CATEGORY。",
2481
2404
  "group": "业务线查询",
2482
2405
  "method": "GET",
2483
2406
  "path": "/sino-opti-hive/dict/items",
@@ -2486,39 +2409,68 @@
2486
2409
  "domain": "biz-line",
2487
2410
  "shortcut": "+categories",
2488
2411
  "risk": "read",
2489
- "summary": "查询业务线和策略投放品类字典",
2412
+ "summary": "查询业务线字典和策略标签",
2490
2413
  "docFile": "biz-line-query.md",
2491
2414
  "requestSchema": {
2492
2415
  "type": "object",
2493
2416
  "properties": {
2494
2417
  "sceneCode": {
2495
2418
  "type": "string",
2496
- "description": "查询投放品类时固定传 PLACEMENT_CATEGORY。不传则以后端默认为准。"
2419
+ "enum": [
2420
+ "BUDGET_STRATEGY",
2421
+ "MEDIA_STRATEGY",
2422
+ "AUDIENCE_STRATEGY",
2423
+ "PLACEMENT_CATEGORY",
2424
+ "CUSTOMER_TYPE"
2425
+ ],
2426
+ "description": "必填。BUDGET_STRATEGY预算策略、MEDIA_STRATEGY媒介产品策略、AUDIENCE_STRATEGY受众定位策略;同时支持PLACEMENT_CATEGORY投放品类、CUSTOMER_TYPE客户类型。"
2427
+ },
2428
+ "filterCondition": {
2429
+ "type": "string",
2430
+ "description": "三类策略场景必须传非空值,否则返回[];按实际字典配置的filter_condition精确匹配,同时包含filter_condition为NULL的通用项。此值没有固定枚举,不要用场景名或业务线ID臆造;其他场景可不传。"
2497
2431
  }
2498
2432
  },
2499
- "required": []
2433
+ "required": [
2434
+ "sceneCode"
2435
+ ]
2500
2436
  },
2501
2437
  "queryParameters": [
2502
2438
  {
2503
2439
  "name": "sceneCode",
2440
+ "required": true,
2441
+ "schema": {
2442
+ "type": "string",
2443
+ "enum": [
2444
+ "BUDGET_STRATEGY",
2445
+ "MEDIA_STRATEGY",
2446
+ "AUDIENCE_STRATEGY",
2447
+ "PLACEMENT_CATEGORY",
2448
+ "CUSTOMER_TYPE"
2449
+ ],
2450
+ "description": "必填。BUDGET_STRATEGY预算策略、MEDIA_STRATEGY媒介产品策略、AUDIENCE_STRATEGY受众定位策略;同时支持PLACEMENT_CATEGORY投放品类、CUSTOMER_TYPE客户类型。"
2451
+ },
2452
+ "explode": true
2453
+ },
2454
+ {
2455
+ "name": "filterCondition",
2504
2456
  "required": false,
2505
2457
  "schema": {
2506
2458
  "type": "string",
2507
- "description": "查询投放品类时固定传 PLACEMENT_CATEGORY。不传则以后端默认为准。"
2459
+ "description": "三类策略场景必须传非空值,否则返回[];按实际字典配置的filter_condition精确匹配,同时包含filter_condition为NULL的通用项。此值没有固定枚举,不要用场景名或业务线ID臆造;其他场景可不传。"
2508
2460
  },
2509
2461
  "explode": true
2510
2462
  }
2511
2463
  ],
2512
2464
  "responseSchema": {
2513
2465
  "type": "array",
2514
- "description": "投放品类字典树。一级=投放行业,children=投放品类。已过滤 isOther=1。",
2466
+ "description": "指定场景下未删除且启用的字典项,按sortOrder排序;两级场景返回children树,普通场景返回列表。场景不存在、无匹配数据或策略场景缺少filterCondition时返回[]。",
2515
2467
  "items": {
2516
2468
  "type": "object",
2517
2469
  "properties": {
2518
2470
  "id": {
2519
2471
  "type": "integer",
2520
2472
  "format": "int64",
2521
- "description": "字典项 ID。一级对应 adCategoryIndustryId,二级对应 adCategoryProjectId",
2473
+ "description": "字典项ID;三类策略场景用于保存AI策略的相应标签ID列表。PLACEMENT_CATEGORY中一级为行业ID,二级为投放品类ID。",
2522
2474
  "title": "字典项ID"
2523
2475
  },
2524
2476
  "name": {
@@ -2545,7 +2497,7 @@
2545
2497
  "isOther": {
2546
2498
  "type": "integer",
2547
2499
  "format": "int32",
2548
- "description": "是否「其他」。本接口已过滤 isOther=1,返回值一般为 0",
2500
+ "description": "是否其他:1是、0否。仅PLACEMENT_CATEGORY和CUSTOMER_TYPE场景过滤isOther=1,策略场景不做该过滤。",
2549
2501
  "title": "是否其他"
2550
2502
  },
2551
2503
  "sortOrder": {
@@ -2556,19 +2508,19 @@
2556
2508
  },
2557
2509
  "children": {
2558
2510
  "type": "array",
2559
- "description": "二级投放品类。叶子节点为 null 或不返回",
2511
+ "description": "两级场景的子项;普通场景或叶子节点可能为null/不返回。投放品类场景下代表二级投放品类。",
2560
2512
  "items": {
2561
2513
  "type": "object",
2562
2514
  "properties": {
2563
2515
  "id": {
2564
2516
  "type": "integer",
2565
2517
  "format": "int64",
2566
- "description": "投放品类 ID,对应筛选参数 adCategoryProjectId",
2518
+ "description": "子字典项ID;具体含义由sceneCode决定,PLACEMENT_CATEGORY下为投放品类ID。",
2567
2519
  "title": "投放品类ID"
2568
2520
  },
2569
2521
  "name": {
2570
2522
  "type": "string",
2571
- "description": "投放品类名称",
2523
+ "description": "子字典项名称。",
2572
2524
  "title": "投放品类名称"
2573
2525
  },
2574
2526
  "description": {
@@ -2601,11 +2553,12 @@
2601
2553
  }
2602
2554
  }
2603
2555
  },
2604
- "title": "二级投放品类"
2556
+ "title": "子字典项",
2557
+ "nullable": true
2605
2558
  }
2606
2559
  }
2607
2560
  },
2608
- "title": "投放品类字典树"
2561
+ "title": "字典项列表或树"
2609
2562
  },
2610
2563
  "tenant": false,
2611
2564
  "roleScope": [
@@ -5607,6 +5560,221 @@
5607
5560
  "sso"
5608
5561
  ]
5609
5562
  },
5563
+ {
5564
+ "name": "biz-line-ai-strategy-save",
5565
+ "displayName": "保存业务线AI策略",
5566
+ "description": "保存一个业务线、一个完整自然周的AI策略生成结果,返回新AI策略ID。bizLineId取自业务线列表;周期为已结束的周一至周日,默认支持2026-09-07及之后的周期(以服务配置为准)。仅优化系统管理员可调用,以BizLinePermCacheManager返回结果的admin标记为准:admin=true放行,其他情况拒绝。\n\n生成成功:generateCode传READY,提交四大策略文本、效果(1有效/2无效/3待观察)、Learning、三类标签ID列表和Excel文件存储key。标签ID从GET /sino-opti-hive/dict/items的对应策略场景查询,列表允许[],JSON序列化后每类最多500字符;文件先上传,fileStorageKey不是下载URL。\n未生成:generateCode传NO_PROJECT、UNSUPPORTED_CHANNEL、NO_AD_ACCOUNT、NO_DELIVERY_DATA或GENERATION_FAILED,并填写remark;三类展示状态PERIOD_NOT_FINISHED、BEFORE_SUPPORTED_PERIOD、GENERATING不可保存。\n\n副作用:同业务线同周期的有效旧AI策略逻辑删除后新增记录,并在同一注解事务内批量快照对应正式策略;没有正式策略时不造空快照。重复调用会产生新的AI策略ID,不是原记录更新。历史日志和快照保留,不改写正式策略内容。失败时整个事务回滚。本接口不加锁。\n返回遵循RestResponseVO,成功result为Long型AI策略ID。示例中的ID和文件key须替换为真实数据。",
5567
+ "group": "业务线AI策略",
5568
+ "method": "POST",
5569
+ "path": "/sino-opti-hive/biz-line/ai-strategy/save",
5570
+ "timeout": 180000,
5571
+ "tag": "业务线AI策略",
5572
+ "domain": "biz-line",
5573
+ "shortcut": "+ai-strategy-save",
5574
+ "risk": "write",
5575
+ "summary": "保存业务线AI策略",
5576
+ "docFile": "biz-line-ai-strategy.md",
5577
+ "requestSchema": {
5578
+ "type": "object",
5579
+ "properties": {
5580
+ "bizLineId": {
5581
+ "type": "integer",
5582
+ "title": "业务线ID",
5583
+ "description": "必填,正整数;取自业务线列表的id。",
5584
+ "format": "int64",
5585
+ "minimum": 1,
5586
+ "example": 1251
5587
+ },
5588
+ "periodStart": {
5589
+ "type": "string",
5590
+ "title": "周期开始",
5591
+ "description": "必填,周一,yyyy-MM-dd。",
5592
+ "format": "date",
5593
+ "example": "2026-09-07"
5594
+ },
5595
+ "periodEnd": {
5596
+ "type": "string",
5597
+ "title": "周期结束",
5598
+ "description": "必填,同一自然周的周日,必须早于当前日期。",
5599
+ "format": "date",
5600
+ "example": "2026-09-13"
5601
+ },
5602
+ "generateCode": {
5603
+ "type": "string",
5604
+ "title": "生成结果状态码",
5605
+ "description": "必填,区分大小写:READY成功;NO_PROJECT无项目;UNSUPPORTED_CHANNEL渠道不支持;NO_AD_ACCOUNT无广告账号;NO_DELIVERY_DATA无投放数据;GENERATION_FAILED生成失败。",
5606
+ "enum": [
5607
+ "READY",
5608
+ "NO_PROJECT",
5609
+ "UNSUPPORTED_CHANNEL",
5610
+ "NO_AD_ACCOUNT",
5611
+ "NO_DELIVERY_DATA",
5612
+ "GENERATION_FAILED"
5613
+ ],
5614
+ "example": "READY"
5615
+ },
5616
+ "budgetStrategyTags": {
5617
+ "type": "array",
5618
+ "title": "预算策略标签ID列表",
5619
+ "description": "READY时必填,允许空数组;取/dict/items的BUDGET_STRATEGY场景返回id,不传名称或itemCode。序列化后不超过500字符。",
5620
+ "items": {
5621
+ "type": "integer",
5622
+ "format": "int64",
5623
+ "minimum": 1
5624
+ },
5625
+ "example": []
5626
+ },
5627
+ "budgetStrategySupplement": {
5628
+ "type": "string",
5629
+ "title": "预算策略",
5630
+ "description": "READY时必填,非空策略内容。",
5631
+ "example": "预算策略建议"
5632
+ },
5633
+ "budgetStrategyEffect": {
5634
+ "type": "integer",
5635
+ "title": "预算策略效果",
5636
+ "description": "READY时必填:1有效、2无效、3待观察。",
5637
+ "format": "int32",
5638
+ "enum": [
5639
+ 1,
5640
+ 2,
5641
+ 3
5642
+ ],
5643
+ "example": 3
5644
+ },
5645
+ "budgetStrategyLearning": {
5646
+ "type": "string",
5647
+ "title": "预算策略Learning",
5648
+ "description": "READY时必填,非空的策略效果总结及经验。",
5649
+ "example": "预算策略仍需观察"
5650
+ },
5651
+ "mediaStrategyTags": {
5652
+ "type": "array",
5653
+ "title": "媒介产品策略标签ID列表",
5654
+ "description": "READY时必填,允许空数组;取/dict/items的MEDIA_STRATEGY场景返回id,不传名称或itemCode。序列化后不超过500字符。",
5655
+ "items": {
5656
+ "type": "integer",
5657
+ "format": "int64",
5658
+ "minimum": 1
5659
+ },
5660
+ "example": []
5661
+ },
5662
+ "mediaStrategySupplement": {
5663
+ "type": "string",
5664
+ "title": "媒介产品策略",
5665
+ "description": "READY时必填,非空策略内容。",
5666
+ "example": "媒介产品策略建议"
5667
+ },
5668
+ "mediaStrategyEffect": {
5669
+ "type": "integer",
5670
+ "title": "媒介产品策略效果",
5671
+ "description": "READY时必填:1有效、2无效、3待观察。",
5672
+ "format": "int32",
5673
+ "enum": [
5674
+ 1,
5675
+ 2,
5676
+ 3
5677
+ ],
5678
+ "example": 3
5679
+ },
5680
+ "mediaStrategyLearning": {
5681
+ "type": "string",
5682
+ "title": "媒介产品策略Learning",
5683
+ "description": "READY时必填,非空的策略效果总结及经验。",
5684
+ "example": "媒介产品策略仍需观察"
5685
+ },
5686
+ "audienceStrategyTags": {
5687
+ "type": "array",
5688
+ "title": "受众定位策略标签ID列表",
5689
+ "description": "READY时必填,允许空数组;取/dict/items的AUDIENCE_STRATEGY场景返回id,不传名称或itemCode。序列化后不超过500字符。",
5690
+ "items": {
5691
+ "type": "integer",
5692
+ "format": "int64",
5693
+ "minimum": 1
5694
+ },
5695
+ "example": []
5696
+ },
5697
+ "audienceStrategySupplement": {
5698
+ "type": "string",
5699
+ "title": "受众定位策略",
5700
+ "description": "READY时必填,非空策略内容。",
5701
+ "example": "受众定位策略建议"
5702
+ },
5703
+ "audienceStrategyEffect": {
5704
+ "type": "integer",
5705
+ "title": "受众定位策略效果",
5706
+ "description": "READY时必填:1有效、2无效、3待观察。",
5707
+ "format": "int32",
5708
+ "enum": [
5709
+ 1,
5710
+ 2,
5711
+ 3
5712
+ ],
5713
+ "example": 3
5714
+ },
5715
+ "audienceStrategyLearning": {
5716
+ "type": "string",
5717
+ "title": "受众定位策略Learning",
5718
+ "description": "READY时必填,非空的策略效果总结及经验。",
5719
+ "example": "受众定位策略仍需观察"
5720
+ },
5721
+ "creativeStrategy": {
5722
+ "type": "string",
5723
+ "title": "素材创意策略",
5724
+ "description": "READY时必填,非空策略内容。",
5725
+ "example": "素材创意策略建议"
5726
+ },
5727
+ "creativeStrategyEffect": {
5728
+ "type": "integer",
5729
+ "title": "素材创意策略效果",
5730
+ "description": "READY时必填:1有效、2无效、3待观察。",
5731
+ "format": "int32",
5732
+ "enum": [
5733
+ 1,
5734
+ 2,
5735
+ 3
5736
+ ],
5737
+ "example": 3
5738
+ },
5739
+ "creativeStrategyLearning": {
5740
+ "type": "string",
5741
+ "title": "素材创意策略Learning",
5742
+ "description": "READY时必填,非空的策略效果总结及经验。",
5743
+ "example": "素材创意策略仍需观察"
5744
+ },
5745
+ "fileStorageKey": {
5746
+ "type": "string",
5747
+ "title": "Excel文件key",
5748
+ "description": "READY时必填;上传策略Excel后返回的存储key,不是下载URL。",
5749
+ "maxLength": 512,
5750
+ "example": "strategy/example.xlsx"
5751
+ },
5752
+ "remark": {
5753
+ "type": "string",
5754
+ "title": "备注/未生成原因",
5755
+ "description": "非READY时必填,说明不能生成或生成失败的原因。"
5756
+ }
5757
+ },
5758
+ "required": [
5759
+ "bizLineId",
5760
+ "periodStart",
5761
+ "periodEnd",
5762
+ "generateCode"
5763
+ ]
5764
+ },
5765
+ "responseSchema": {
5766
+ "type": "integer",
5767
+ "title": "AI策略ID",
5768
+ "description": "本次新增AI策略ID,采用/暂不采用反馈使用该ID;详情接口仍按业务线和周期查询。",
5769
+ "format": "int64",
5770
+ "example": 100
5771
+ },
5772
+ "tenant": false,
5773
+ "roleScope": [
5774
+ "sso",
5775
+ "system"
5776
+ ]
5777
+ },
5610
5778
  {
5611
5779
  "name": "project-action-log-page-by-project",
5612
5780
  "displayName": "按项目查询最新操作日志(分页倒序)",
@@ -26949,5 +27117,3929 @@
26949
27117
  "system",
26950
27118
  "passport"
26951
27119
  ]
27120
+ },
27121
+ {
27122
+ "name": "bill-list",
27123
+ "displayName": "对账单列表",
27124
+ "description": "按生成时间查当前主体的账单聚合列表(BillAggregation)。响应只保留列表,不含待还汇总。",
27125
+ "group": "对账单",
27126
+ "method": "POST",
27127
+ "path": "/sino-wallet-pu/platform/wallet/bill/list",
27128
+ "timeout": 180000,
27129
+ "tag": "对账单",
27130
+ "domain": "wallet",
27131
+ "shortcut": "+bill-list",
27132
+ "risk": "read",
27133
+ "summary": "对账单列表",
27134
+ "docFile": "wallet-bill.md",
27135
+ "requestSchema": {
27136
+ "type": "object",
27137
+ "properties": {
27138
+ "pageNum": {
27139
+ "type": "integer",
27140
+ "format": "int32",
27141
+ "title": "页码",
27142
+ "description": "页码,从 1 开始",
27143
+ "example": 1
27144
+ },
27145
+ "pageSize": {
27146
+ "type": "integer",
27147
+ "format": "int32",
27148
+ "title": "每页条数",
27149
+ "description": "每页条数",
27150
+ "example": 10
27151
+ },
27152
+ "startTime": {
27153
+ "type": "string",
27154
+ "title": "账单生成开始日",
27155
+ "description": "yyyy-MM-dd",
27156
+ "example": "2026-01-01"
27157
+ },
27158
+ "endTime": {
27159
+ "type": "string",
27160
+ "title": "账单生成结束日",
27161
+ "description": "yyyy-MM-dd",
27162
+ "example": "2026-01-31"
27163
+ },
27164
+ "billName": {
27165
+ "type": "string",
27166
+ "title": "对账单名称",
27167
+ "description": "支持模糊"
27168
+ },
27169
+ "channelIdList": {
27170
+ "type": "array",
27171
+ "title": "所属渠道",
27172
+ "description": "0 代表服务费系统",
27173
+ "items": {
27174
+ "type": "integer",
27175
+ "title": "渠道id",
27176
+ "description": "媒资渠道id",
27177
+ "format": "int32"
27178
+ }
27179
+ },
27180
+ "minAmount": {
27181
+ "type": "number",
27182
+ "title": "账单金额最小值",
27183
+ "description": "账单金额最小值"
27184
+ },
27185
+ "maxAmount": {
27186
+ "type": "number",
27187
+ "title": "账单金额最大值",
27188
+ "description": "账单金额最大值"
27189
+ },
27190
+ "invoiceStatusList": {
27191
+ "type": "array",
27192
+ "title": "开票状态",
27193
+ "description": "开票状态",
27194
+ "items": {
27195
+ "type": "string",
27196
+ "title": "开票状态",
27197
+ "description": "开票状态",
27198
+ "enum": [
27199
+ "INVOICE_NONE",
27200
+ "INVOICE_PART",
27201
+ "INVOICE_SUCCESS"
27202
+ ]
27203
+ }
27204
+ },
27205
+ "billTypeList": {
27206
+ "type": "array",
27207
+ "title": "账单类型",
27208
+ "description": "账单类型",
27209
+ "items": {
27210
+ "type": "string",
27211
+ "title": "账单类型",
27212
+ "description": "账单类型",
27213
+ "enum": [
27214
+ "MEDIA_BILL",
27215
+ "SERVICE_CHARGE_BILL",
27216
+ "CREDIT_MEMO_BILL",
27217
+ "RED_OFFSET_BILL"
27218
+ ]
27219
+ }
27220
+ },
27221
+ "startMonth": {
27222
+ "type": "string",
27223
+ "title": "所属月份起始",
27224
+ "description": "yyyyMM,如 202309"
27225
+ },
27226
+ "endMonth": {
27227
+ "type": "string",
27228
+ "title": "所属月份结束",
27229
+ "description": "yyyyMM,如 202310"
27230
+ }
27231
+ },
27232
+ "required": [
27233
+ "startTime",
27234
+ "endTime"
27235
+ ]
27236
+ },
27237
+ "responseSchema": {
27238
+ "type": "object",
27239
+ "properties": {
27240
+ "billListVoPage": {
27241
+ "type": "object",
27242
+ "properties": {
27243
+ "total": {
27244
+ "type": "integer",
27245
+ "title": "总数",
27246
+ "description": "总数",
27247
+ "format": "int64"
27248
+ },
27249
+ "result": {
27250
+ "type": "array",
27251
+ "title": "本页条目",
27252
+ "description": "本页条目",
27253
+ "items": {
27254
+ "type": "object",
27255
+ "properties": {
27256
+ "billId": {
27257
+ "type": "string",
27258
+ "title": "对账单id",
27259
+ "description": "对账单id"
27260
+ },
27261
+ "billName": {
27262
+ "type": "string",
27263
+ "title": "对账单名称",
27264
+ "description": "对账单名称"
27265
+ },
27266
+ "channelId": {
27267
+ "type": "string",
27268
+ "title": "所属渠道code",
27269
+ "description": "媒资渠道 id;0 代表服务费系统"
27270
+ },
27271
+ "channelName": {
27272
+ "type": "string",
27273
+ "title": "所属渠道名称",
27274
+ "description": "所属渠道名称"
27275
+ },
27276
+ "billCurrency": {
27277
+ "type": "string",
27278
+ "title": "账单金额币种",
27279
+ "description": "账单金额币种"
27280
+ },
27281
+ "billAmount": {
27282
+ "type": "string",
27283
+ "title": "账单金额",
27284
+ "description": "账单金额"
27285
+ },
27286
+ "toBeInvoicedCurrency": {
27287
+ "type": "string",
27288
+ "title": "待开票币种",
27289
+ "description": "待开票币种"
27290
+ },
27291
+ "toBeInvoicedAmount": {
27292
+ "type": "string",
27293
+ "title": "待开票金额",
27294
+ "description": "待开票金额"
27295
+ },
27296
+ "month": {
27297
+ "type": "string",
27298
+ "title": "所属月份",
27299
+ "description": "所属月份"
27300
+ },
27301
+ "invoiceStatusCode": {
27302
+ "type": "string",
27303
+ "title": "开票状态code",
27304
+ "description": "INVOICE_NONE / INVOICE_PART / INVOICE_SUCCESS"
27305
+ },
27306
+ "invoiceStatusName": {
27307
+ "type": "string",
27308
+ "title": "开票状态名称",
27309
+ "description": "开票状态名称"
27310
+ },
27311
+ "billTypeCode": {
27312
+ "type": "string",
27313
+ "title": "账单类型code",
27314
+ "description": "MEDIA_BILL / SERVICE_CHARGE_BILL / CREDIT_MEMO_BILL / RED_OFFSET_BILL"
27315
+ },
27316
+ "billTypeName": {
27317
+ "type": "string",
27318
+ "title": "账单类型名称",
27319
+ "description": "账单类型名称"
27320
+ },
27321
+ "createTime": {
27322
+ "type": "string",
27323
+ "title": "生成时间",
27324
+ "description": "生成时间"
27325
+ },
27326
+ "frozenType": {
27327
+ "type": "integer",
27328
+ "title": "冻结状态",
27329
+ "description": "0 未冻结 / 1 已冻结",
27330
+ "format": "int32"
27331
+ }
27332
+ }
27333
+ }
27334
+ }
27335
+ },
27336
+ "title": "对账单分页"
27337
+ }
27338
+ }
27339
+ },
27340
+ "tenant": true,
27341
+ "roleScope": [
27342
+ "passport"
27343
+ ]
27344
+ },
27345
+ {
27346
+ "name": "bill-detail-basic",
27347
+ "displayName": "对账单基本信息",
27348
+ "description": "按 billId 查单条对账单金额、渠道、类型、开票状态。",
27349
+ "group": "对账单",
27350
+ "method": "GET",
27351
+ "path": "/sino-wallet-pu/platform/wallet/bill/detail/basic",
27352
+ "timeout": 180000,
27353
+ "tag": "对账单",
27354
+ "domain": "wallet",
27355
+ "shortcut": "+bill-detail",
27356
+ "risk": "read",
27357
+ "summary": "对账单基本信息",
27358
+ "docFile": "wallet-bill.md",
27359
+ "requestSchema": {
27360
+ "type": "object",
27361
+ "properties": {
27362
+ "billId": {
27363
+ "type": "string",
27364
+ "description": "对账单id"
27365
+ }
27366
+ },
27367
+ "required": [
27368
+ "billId"
27369
+ ]
27370
+ },
27371
+ "queryParameters": [
27372
+ {
27373
+ "name": "billId",
27374
+ "required": true,
27375
+ "schema": {
27376
+ "type": "string",
27377
+ "description": "对账单id"
27378
+ },
27379
+ "explode": true
27380
+ }
27381
+ ],
27382
+ "responseSchema": {
27383
+ "type": "object",
27384
+ "properties": {
27385
+ "billId": {
27386
+ "type": "string",
27387
+ "title": "账单id",
27388
+ "description": "账单id"
27389
+ },
27390
+ "channelId": {
27391
+ "type": "string",
27392
+ "title": "所属渠道code",
27393
+ "description": "所属渠道code"
27394
+ },
27395
+ "channelName": {
27396
+ "type": "string",
27397
+ "title": "所属渠道名称",
27398
+ "description": "所属渠道名称"
27399
+ },
27400
+ "billTypeCode": {
27401
+ "type": "string",
27402
+ "title": "账单类型code",
27403
+ "description": "账单类型code"
27404
+ },
27405
+ "billTypeName": {
27406
+ "type": "string",
27407
+ "title": "账单类型名称",
27408
+ "description": "账单类型名称"
27409
+ },
27410
+ "billCurrency": {
27411
+ "type": "string",
27412
+ "title": "账单金额币种",
27413
+ "description": "账单金额币种"
27414
+ },
27415
+ "billAmount": {
27416
+ "type": "string",
27417
+ "title": "账单金额",
27418
+ "description": "账单金额"
27419
+ },
27420
+ "month": {
27421
+ "type": "string",
27422
+ "title": "所属月份",
27423
+ "description": "所属月份"
27424
+ },
27425
+ "toBeInvoicedAmount": {
27426
+ "type": "string",
27427
+ "title": "待开票金额",
27428
+ "description": "对账单金额-已开票金额"
27429
+ },
27430
+ "toBeInvoicedCurrency": {
27431
+ "type": "string",
27432
+ "title": "待开票币种",
27433
+ "description": "待开票币种"
27434
+ },
27435
+ "invoiceStatusCode": {
27436
+ "type": "string",
27437
+ "title": "开票状态code",
27438
+ "description": "开票状态code"
27439
+ },
27440
+ "invoiceStatusName": {
27441
+ "type": "string",
27442
+ "title": "开票状态名称",
27443
+ "description": "开票状态名称"
27444
+ },
27445
+ "createTime": {
27446
+ "type": "string",
27447
+ "title": "对账单创建时间",
27448
+ "description": "对账单创建时间"
27449
+ },
27450
+ "billName": {
27451
+ "type": "string",
27452
+ "title": "对账单名",
27453
+ "description": "对账单名"
27454
+ },
27455
+ "frozenType": {
27456
+ "type": "integer",
27457
+ "title": "冻结状态",
27458
+ "description": "0 未冻结 / 1 已冻结",
27459
+ "format": "int32"
27460
+ }
27461
+ }
27462
+ },
27463
+ "tenant": true,
27464
+ "roleScope": [
27465
+ "passport"
27466
+ ]
27467
+ },
27468
+ {
27469
+ "name": "bill-original-list",
27470
+ "displayName": "对账单明细",
27471
+ "description": "按对账单类型返回媒体 / 服务费 / Credit Memo / 服务费红冲其中一类明细。",
27472
+ "group": "对账单",
27473
+ "method": "POST",
27474
+ "path": "/sino-wallet-pu/platform/wallet/bill/detail/original/list",
27475
+ "timeout": 180000,
27476
+ "tag": "对账单",
27477
+ "domain": "wallet",
27478
+ "shortcut": "+bill-original",
27479
+ "risk": "read",
27480
+ "summary": "对账单明细",
27481
+ "docFile": "wallet-bill.md",
27482
+ "requestSchema": {
27483
+ "type": "object",
27484
+ "properties": {
27485
+ "pageNum": {
27486
+ "type": "integer",
27487
+ "format": "int32",
27488
+ "title": "页码",
27489
+ "description": "页码,从 1 开始",
27490
+ "example": 1
27491
+ },
27492
+ "pageSize": {
27493
+ "type": "integer",
27494
+ "format": "int32",
27495
+ "title": "每页条数",
27496
+ "description": "每页条数",
27497
+ "example": 10
27498
+ },
27499
+ "billId": {
27500
+ "type": "string",
27501
+ "title": "对账单id",
27502
+ "description": "对账单id"
27503
+ }
27504
+ },
27505
+ "required": [
27506
+ "billId"
27507
+ ]
27508
+ },
27509
+ "responseSchema": {
27510
+ "type": "object",
27511
+ "properties": {
27512
+ "mediaBill": {
27513
+ "type": "object",
27514
+ "properties": {
27515
+ "total": {
27516
+ "type": "integer",
27517
+ "title": "总数",
27518
+ "description": "总数",
27519
+ "format": "int64"
27520
+ },
27521
+ "result": {
27522
+ "type": "array",
27523
+ "title": "本页条目",
27524
+ "description": "本页条目",
27525
+ "items": {
27526
+ "type": "object",
27527
+ "properties": {
27528
+ "adAccountName": {
27529
+ "type": "string",
27530
+ "title": "广告账号名称",
27531
+ "description": "广告账号名称"
27532
+ },
27533
+ "adAccountId": {
27534
+ "type": "string",
27535
+ "title": "广告账号id",
27536
+ "description": "广告账号id"
27537
+ },
27538
+ "billMonth": {
27539
+ "type": "string",
27540
+ "title": "账单月份",
27541
+ "description": "账单月份"
27542
+ },
27543
+ "consumeCurrency": {
27544
+ "type": "string",
27545
+ "title": "消耗金额币种",
27546
+ "description": "消耗金额币种"
27547
+ },
27548
+ "consumeAmount": {
27549
+ "type": "number",
27550
+ "title": "消耗金额",
27551
+ "description": "消耗金额"
27552
+ },
27553
+ "mediaTaxesAmount": {
27554
+ "type": "number",
27555
+ "title": "媒体税费金额",
27556
+ "description": "媒体税费金额"
27557
+ },
27558
+ "sumAmount": {
27559
+ "type": "number",
27560
+ "title": "合计费用",
27561
+ "description": "消耗+税费"
27562
+ },
27563
+ "advertiserName": {
27564
+ "type": "string",
27565
+ "title": "广告主名称",
27566
+ "description": "广告主名称"
27567
+ }
27568
+ }
27569
+ }
27570
+ }
27571
+ },
27572
+ "title": "媒体类明细"
27573
+ },
27574
+ "serviceChargeBill": {
27575
+ "type": "object",
27576
+ "properties": {
27577
+ "total": {
27578
+ "type": "integer",
27579
+ "title": "总数",
27580
+ "description": "总数",
27581
+ "format": "int64"
27582
+ },
27583
+ "result": {
27584
+ "type": "array",
27585
+ "title": "本页条目",
27586
+ "description": "本页条目",
27587
+ "items": {
27588
+ "type": "object",
27589
+ "properties": {
27590
+ "name": {
27591
+ "type": "string",
27592
+ "title": "服务费项目",
27593
+ "description": "服务费项目"
27594
+ },
27595
+ "amount": {
27596
+ "type": "string",
27597
+ "title": "服务费金额",
27598
+ "description": "服务费金额"
27599
+ },
27600
+ "currency": {
27601
+ "type": "string",
27602
+ "title": "服务费币种",
27603
+ "description": "服务费币种"
27604
+ }
27605
+ }
27606
+ }
27607
+ }
27608
+ },
27609
+ "title": "服务费明细"
27610
+ },
27611
+ "creditMemoBill": {
27612
+ "type": "object",
27613
+ "properties": {
27614
+ "total": {
27615
+ "type": "integer",
27616
+ "title": "总数",
27617
+ "description": "总数",
27618
+ "format": "int64"
27619
+ },
27620
+ "result": {
27621
+ "type": "array",
27622
+ "title": "本页条目",
27623
+ "description": "本页条目",
27624
+ "items": {
27625
+ "type": "object",
27626
+ "properties": {
27627
+ "adAccountName": {
27628
+ "type": "string",
27629
+ "title": "广告账号名称",
27630
+ "description": "广告账号名称"
27631
+ },
27632
+ "adAccountId": {
27633
+ "type": "string",
27634
+ "title": "广告账号id",
27635
+ "description": "广告账号id"
27636
+ },
27637
+ "billMonth": {
27638
+ "type": "string",
27639
+ "title": "账单月份",
27640
+ "description": "账单月份"
27641
+ },
27642
+ "amount": {
27643
+ "type": "string",
27644
+ "title": "金额",
27645
+ "description": "单位为正"
27646
+ },
27647
+ "currency": {
27648
+ "type": "string",
27649
+ "title": "金额币种",
27650
+ "description": "金额币种"
27651
+ }
27652
+ }
27653
+ }
27654
+ }
27655
+ },
27656
+ "title": "Credit Memo明细"
27657
+ },
27658
+ "serviceChargeRedBill": {
27659
+ "type": "object",
27660
+ "properties": {
27661
+ "total": {
27662
+ "type": "integer",
27663
+ "title": "总数",
27664
+ "description": "总数",
27665
+ "format": "int64"
27666
+ },
27667
+ "result": {
27668
+ "type": "array",
27669
+ "title": "本页条目",
27670
+ "description": "本页条目",
27671
+ "items": {
27672
+ "type": "object",
27673
+ "properties": {
27674
+ "serviceChargeBillid": {
27675
+ "type": "string",
27676
+ "title": "抵扣服务费对账单id",
27677
+ "description": "正数服务费对账单id"
27678
+ },
27679
+ "serviceChargeBillName": {
27680
+ "type": "string",
27681
+ "title": "抵扣服务费对账单名称",
27682
+ "description": "正数服务费对账单名称"
27683
+ },
27684
+ "redAmount": {
27685
+ "type": "string",
27686
+ "title": "红冲金额",
27687
+ "description": "单位为正"
27688
+ },
27689
+ "redAmountCurrency": {
27690
+ "type": "string",
27691
+ "title": "红冲币种",
27692
+ "description": "红冲币种"
27693
+ }
27694
+ }
27695
+ }
27696
+ }
27697
+ },
27698
+ "title": "服务费红冲明细"
27699
+ }
27700
+ }
27701
+ },
27702
+ "tenant": true,
27703
+ "roleScope": [
27704
+ "passport"
27705
+ ]
27706
+ },
27707
+ {
27708
+ "name": "bill-operate-list",
27709
+ "displayName": "对账单操作历史",
27710
+ "description": "分页查对账单操作记录。",
27711
+ "group": "对账单",
27712
+ "method": "POST",
27713
+ "path": "/sino-wallet-pu/platform/wallet/bill/detail/operate/list",
27714
+ "timeout": 180000,
27715
+ "tag": "对账单",
27716
+ "domain": "wallet",
27717
+ "shortcut": "+bill-operate",
27718
+ "risk": "read",
27719
+ "summary": "对账单操作历史",
27720
+ "docFile": "wallet-bill.md",
27721
+ "requestSchema": {
27722
+ "type": "object",
27723
+ "properties": {
27724
+ "pageNum": {
27725
+ "type": "integer",
27726
+ "format": "int32",
27727
+ "title": "页码",
27728
+ "description": "页码,从 1 开始",
27729
+ "example": 1
27730
+ },
27731
+ "pageSize": {
27732
+ "type": "integer",
27733
+ "format": "int32",
27734
+ "title": "每页条数",
27735
+ "description": "每页条数",
27736
+ "example": 10
27737
+ },
27738
+ "billId": {
27739
+ "type": "string",
27740
+ "title": "对账单id",
27741
+ "description": "对账单id"
27742
+ }
27743
+ },
27744
+ "required": [
27745
+ "billId"
27746
+ ]
27747
+ },
27748
+ "responseSchema": {
27749
+ "type": "object",
27750
+ "properties": {
27751
+ "total": {
27752
+ "type": "integer",
27753
+ "title": "总数",
27754
+ "description": "总数",
27755
+ "format": "int64"
27756
+ },
27757
+ "result": {
27758
+ "type": "array",
27759
+ "title": "本页条目",
27760
+ "description": "本页条目",
27761
+ "items": {
27762
+ "type": "object",
27763
+ "properties": {
27764
+ "operationTime": {
27765
+ "type": "string",
27766
+ "title": "操作时间",
27767
+ "description": "操作时间"
27768
+ },
27769
+ "content": {
27770
+ "type": "string",
27771
+ "title": "更新事项",
27772
+ "description": "更新事项"
27773
+ },
27774
+ "operationUserId": {
27775
+ "type": "string",
27776
+ "title": "操作人id",
27777
+ "description": "操作人id"
27778
+ },
27779
+ "operationUserName": {
27780
+ "type": "string",
27781
+ "title": "操作人姓名",
27782
+ "description": "操作人姓名"
27783
+ },
27784
+ "reason": {
27785
+ "type": "string",
27786
+ "title": "更新原因",
27787
+ "description": "更新原因"
27788
+ }
27789
+ }
27790
+ }
27791
+ }
27792
+ },
27793
+ "title": "分页结果"
27794
+ },
27795
+ "pagination": {
27796
+ "pageField": "pageNum",
27797
+ "sizeField": "pageSize",
27798
+ "itemsField": "result",
27799
+ "totalField": "total"
27800
+ },
27801
+ "tenant": true,
27802
+ "roleScope": [
27803
+ "passport"
27804
+ ]
27805
+ },
27806
+ {
27807
+ "name": "bill-invoice-enum",
27808
+ "displayName": "对账单与发票枚举",
27809
+ "description": "按 types 批量取渠道、开票/还款状态、账单类型等枚举。type 必须用原文,含拼写。",
27810
+ "group": "对账单",
27811
+ "method": "POST",
27812
+ "path": "/sino-wallet-pu/platform/wallet/enum/bill-invoice/by-type/list",
27813
+ "timeout": 180000,
27814
+ "tag": "对账单",
27815
+ "domain": "wallet",
27816
+ "shortcut": "+bill-enum",
27817
+ "risk": "read",
27818
+ "summary": "对账单与发票枚举",
27819
+ "docFile": "wallet-bill.md",
27820
+ "requestSchema": {
27821
+ "type": "object",
27822
+ "properties": {
27823
+ "types": {
27824
+ "type": "array",
27825
+ "title": "枚举类型",
27826
+ "description": "至少 1 个。INVOICE_E_FILE_TYPE 结果不可靠,下载格式请用 PDF/OFD。",
27827
+ "minItems": 1,
27828
+ "items": {
27829
+ "type": "string",
27830
+ "enum": [
27831
+ "BIll_CHANNEL",
27832
+ "REPAYMENT_STAUTS",
27833
+ "BILL_INVOICE_STATUS",
27834
+ "BILL_TYPE",
27835
+ "BILL_INVOICE_TYPE",
27836
+ "INVOICE_DETAILS_STATUS",
27837
+ "INVOICE_SECTION",
27838
+ "ORIGINAL_BILL_TYPE",
27839
+ "INVOICE_VAT_TYPE",
27840
+ "INVOICE_E_FILE_TYPE"
27841
+ ]
27842
+ }
27843
+ }
27844
+ },
27845
+ "required": [
27846
+ "types"
27847
+ ]
27848
+ },
27849
+ "responseSchema": {
27850
+ "type": "object",
27851
+ "title": "按类型分组的枚举",
27852
+ "description": "key 为请求的 type",
27853
+ "additionalProperties": {
27854
+ "type": "array",
27855
+ "title": "枚举项",
27856
+ "description": "枚举项",
27857
+ "items": {
27858
+ "type": "object",
27859
+ "properties": {
27860
+ "code": {
27861
+ "type": "string",
27862
+ "title": "枚举值",
27863
+ "description": "枚举值"
27864
+ },
27865
+ "desc": {
27866
+ "type": "string",
27867
+ "title": "枚举描述",
27868
+ "description": "枚举描述"
27869
+ }
27870
+ }
27871
+ }
27872
+ },
27873
+ "properties": {}
27874
+ },
27875
+ "tenant": true,
27876
+ "roleScope": [
27877
+ "passport"
27878
+ ]
27879
+ },
27880
+ {
27881
+ "name": "bill-settlement-list",
27882
+ "displayName": "对账单关联结算单",
27883
+ "description": "查某张对账单下已开的发票结算单,不分页。",
27884
+ "group": "发票结算单",
27885
+ "method": "GET",
27886
+ "path": "/sino-wallet-pu/platform/wallet/bill/detail/settlement/list",
27887
+ "timeout": 180000,
27888
+ "tag": "发票结算单",
27889
+ "domain": "wallet",
27890
+ "shortcut": "+bill-settlements",
27891
+ "risk": "read",
27892
+ "summary": "对账单关联结算单",
27893
+ "docFile": "wallet-invoice.md",
27894
+ "requestSchema": {
27895
+ "type": "object",
27896
+ "properties": {
27897
+ "billId": {
27898
+ "type": "string",
27899
+ "description": "账单id"
27900
+ }
27901
+ },
27902
+ "required": [
27903
+ "billId"
27904
+ ]
27905
+ },
27906
+ "queryParameters": [
27907
+ {
27908
+ "name": "billId",
27909
+ "required": true,
27910
+ "schema": {
27911
+ "type": "string",
27912
+ "description": "账单id"
27913
+ },
27914
+ "explode": true
27915
+ }
27916
+ ],
27917
+ "responseSchema": {
27918
+ "type": "array",
27919
+ "title": "结算单列表",
27920
+ "description": "结算单列表",
27921
+ "items": {
27922
+ "type": "object",
27923
+ "properties": {
27924
+ "invoiceSettlementId": {
27925
+ "type": "string",
27926
+ "title": "结算单id",
27927
+ "description": "结算单id"
27928
+ },
27929
+ "amount": {
27930
+ "type": "string",
27931
+ "title": "开票金额",
27932
+ "description": "开票金额"
27933
+ },
27934
+ "name": {
27935
+ "type": "string",
27936
+ "title": "发票抬头",
27937
+ "description": "发票抬头"
27938
+ },
27939
+ "invoiceType": {
27940
+ "type": "integer",
27941
+ "title": "发票形式code",
27942
+ "description": "1 Invoice / 2 VAT",
27943
+ "format": "int32"
27944
+ },
27945
+ "invoiceTypeName": {
27946
+ "type": "string",
27947
+ "title": "发票形式名称",
27948
+ "description": "发票形式名称"
27949
+ },
27950
+ "issuanceStatus": {
27951
+ "type": "string",
27952
+ "title": "开票状态code",
27953
+ "description": "开票状态code"
27954
+ },
27955
+ "issuanceStatusName": {
27956
+ "type": "string",
27957
+ "title": "开票状态名称",
27958
+ "description": "开票状态名称"
27959
+ },
27960
+ "paymentStatus": {
27961
+ "type": "string",
27962
+ "title": "还款状态code",
27963
+ "description": "还款状态code"
27964
+ },
27965
+ "paymentStatusName": {
27966
+ "type": "string",
27967
+ "title": "还款状态名称",
27968
+ "description": "还款状态名称"
27969
+ },
27970
+ "currency": {
27971
+ "type": "string",
27972
+ "title": "币种",
27973
+ "description": "币种"
27974
+ },
27975
+ "repaymentCurrency": {
27976
+ "type": "string",
27977
+ "title": "待还款币种",
27978
+ "description": "待还款币种"
27979
+ },
27980
+ "repaymentAmount": {
27981
+ "type": "string",
27982
+ "title": "待还金额",
27983
+ "description": "待还金额"
27984
+ },
27985
+ "time": {
27986
+ "type": "string",
27987
+ "title": "申请时间",
27988
+ "description": "申请时间"
27989
+ },
27990
+ "billList": {
27991
+ "type": "array",
27992
+ "title": "关联对账单",
27993
+ "description": "关联对账单",
27994
+ "items": {
27995
+ "type": "object",
27996
+ "properties": {
27997
+ "id": {
27998
+ "type": "string",
27999
+ "title": "对账单id/子账单id",
28000
+ "description": "对账单id/子账单id"
28001
+ },
28002
+ "name": {
28003
+ "type": "string",
28004
+ "title": "账单名称",
28005
+ "description": "账单名称"
28006
+ }
28007
+ }
28008
+ }
28009
+ },
28010
+ "invoiceModeType": {
28011
+ "type": "integer",
28012
+ "title": "开票模式",
28013
+ "description": "1 原始账单 / 2 对账单 / 3 子对账单 / 4 无账单",
28014
+ "format": "int32"
28015
+ },
28016
+ "invoiceModeName": {
28017
+ "type": "string",
28018
+ "title": "开票模式描述",
28019
+ "description": "开票模式描述"
28020
+ },
28021
+ "invoiceVatType": {
28022
+ "type": "string",
28023
+ "title": "VAT开票类型",
28024
+ "description": "ORDINARY / SPECIAL / E_ORDINARY / E_SPECIAL"
28025
+ },
28026
+ "invoiceVatTypeName": {
28027
+ "type": "string",
28028
+ "title": "VAT开票类型名称",
28029
+ "description": "VAT开票类型名称"
28030
+ }
28031
+ }
28032
+ }
28033
+ },
28034
+ "tenant": true,
28035
+ "roleScope": [
28036
+ "passport"
28037
+ ]
28038
+ },
28039
+ {
28040
+ "name": "invoice-settlement-list",
28041
+ "displayName": "发票结算单列表",
28042
+ "description": "按申请时间查当前主体的结算单列表。响应只保留列表,不含待还汇总。",
28043
+ "group": "发票结算单",
28044
+ "method": "POST",
28045
+ "path": "/sino-wallet-pu/invoice/settlement/list",
28046
+ "timeout": 180000,
28047
+ "tag": "发票结算单",
28048
+ "domain": "wallet",
28049
+ "shortcut": "+invoice-list",
28050
+ "risk": "read",
28051
+ "summary": "发票结算单列表",
28052
+ "docFile": "wallet-invoice.md",
28053
+ "requestSchema": {
28054
+ "type": "object",
28055
+ "properties": {
28056
+ "pageNum": {
28057
+ "type": "integer",
28058
+ "format": "int32",
28059
+ "title": "页码",
28060
+ "description": "页码,从 1 开始",
28061
+ "example": 1
28062
+ },
28063
+ "pageSize": {
28064
+ "type": "integer",
28065
+ "format": "int32",
28066
+ "title": "每页条数",
28067
+ "description": "每页条数",
28068
+ "example": 10
28069
+ },
28070
+ "startTime": {
28071
+ "type": "string",
28072
+ "title": "申请时间起始",
28073
+ "description": "yyyy-MM-dd",
28074
+ "example": "2026-01-01"
28075
+ },
28076
+ "endTime": {
28077
+ "type": "string",
28078
+ "title": "申请时间截止",
28079
+ "description": "yyyy-MM-dd",
28080
+ "example": "2026-01-31"
28081
+ },
28082
+ "invoiceSettlementId": {
28083
+ "type": "string",
28084
+ "title": "结算单id",
28085
+ "description": "结算单id"
28086
+ },
28087
+ "billIdList": {
28088
+ "type": "array",
28089
+ "title": "账单id列表",
28090
+ "description": "账单id列表",
28091
+ "items": {
28092
+ "type": "string",
28093
+ "title": "账单id",
28094
+ "description": "账单id"
28095
+ }
28096
+ },
28097
+ "name": {
28098
+ "type": "string",
28099
+ "title": "发票抬头",
28100
+ "description": "模糊"
28101
+ },
28102
+ "paymentStatusList": {
28103
+ "type": "array",
28104
+ "title": "还款状态",
28105
+ "description": "还款状态",
28106
+ "items": {
28107
+ "type": "string",
28108
+ "title": "还款状态",
28109
+ "description": "还款状态",
28110
+ "enum": [
28111
+ "REPAYMENT_NONE",
28112
+ "REPAYMENT_PART",
28113
+ "REPAYMENT_SUCCESS"
28114
+ ]
28115
+ }
28116
+ },
28117
+ "issuanceStatusList": {
28118
+ "type": "array",
28119
+ "title": "开票状态",
28120
+ "description": "开票状态",
28121
+ "items": {
28122
+ "type": "string",
28123
+ "title": "开票状态",
28124
+ "description": "开票状态",
28125
+ "enum": [
28126
+ "INVOICE_APPROVING",
28127
+ "INVOICE_REJECTED",
28128
+ "INVOICE_SUCCESS",
28129
+ "ABOLISH_APPROVING",
28130
+ "ABOLISH_REJECTED",
28131
+ "ABOLISH_SUCCESS"
28132
+ ]
28133
+ }
28134
+ },
28135
+ "invoiceTypeList": {
28136
+ "type": "array",
28137
+ "title": "发票形式",
28138
+ "description": "发票形式",
28139
+ "items": {
28140
+ "type": "integer",
28141
+ "title": "发票形式",
28142
+ "description": "1 Invoice / 2 VAT",
28143
+ "format": "int32"
28144
+ }
28145
+ },
28146
+ "invoiceVatTypeList": {
28147
+ "type": "array",
28148
+ "title": "VAT发票类型",
28149
+ "description": "VAT发票类型",
28150
+ "items": {
28151
+ "type": "string",
28152
+ "title": "VAT发票类型",
28153
+ "description": "VAT发票类型",
28154
+ "enum": [
28155
+ "ORDINARY",
28156
+ "SPECIAL",
28157
+ "E_ORDINARY",
28158
+ "E_SPECIAL"
28159
+ ]
28160
+ }
28161
+ },
28162
+ "minAmount": {
28163
+ "type": "number",
28164
+ "title": "金额起始",
28165
+ "description": "金额起始"
28166
+ },
28167
+ "maxAmount": {
28168
+ "type": "number",
28169
+ "title": "金额截止",
28170
+ "description": "金额截止"
28171
+ },
28172
+ "collectFlag": {
28173
+ "type": "boolean",
28174
+ "title": "是否获取汇总信息",
28175
+ "description": "本契约丢弃汇总,可不传",
28176
+ "example": false
28177
+ }
28178
+ },
28179
+ "required": [
28180
+ "startTime",
28181
+ "endTime"
28182
+ ]
28183
+ },
28184
+ "responseSchema": {
28185
+ "type": "object",
28186
+ "properties": {
28187
+ "invoiceSettlementVoPageResult": {
28188
+ "type": "object",
28189
+ "properties": {
28190
+ "total": {
28191
+ "type": "integer",
28192
+ "title": "总数",
28193
+ "description": "总数",
28194
+ "format": "int64"
28195
+ },
28196
+ "result": {
28197
+ "type": "array",
28198
+ "title": "本页条目",
28199
+ "description": "本页条目",
28200
+ "items": {
28201
+ "type": "object",
28202
+ "properties": {
28203
+ "invoiceSettlementId": {
28204
+ "type": "string",
28205
+ "title": "结算单id",
28206
+ "description": "结算单id"
28207
+ },
28208
+ "amount": {
28209
+ "type": "string",
28210
+ "title": "开票金额",
28211
+ "description": "开票金额"
28212
+ },
28213
+ "name": {
28214
+ "type": "string",
28215
+ "title": "发票抬头",
28216
+ "description": "发票抬头"
28217
+ },
28218
+ "invoiceType": {
28219
+ "type": "integer",
28220
+ "title": "发票形式code",
28221
+ "description": "1 Invoice / 2 VAT",
28222
+ "format": "int32"
28223
+ },
28224
+ "invoiceTypeName": {
28225
+ "type": "string",
28226
+ "title": "发票形式名称",
28227
+ "description": "发票形式名称"
28228
+ },
28229
+ "issuanceStatus": {
28230
+ "type": "string",
28231
+ "title": "开票状态code",
28232
+ "description": "开票状态code"
28233
+ },
28234
+ "issuanceStatusName": {
28235
+ "type": "string",
28236
+ "title": "开票状态名称",
28237
+ "description": "开票状态名称"
28238
+ },
28239
+ "paymentStatus": {
28240
+ "type": "string",
28241
+ "title": "还款状态code",
28242
+ "description": "还款状态code"
28243
+ },
28244
+ "paymentStatusName": {
28245
+ "type": "string",
28246
+ "title": "还款状态名称",
28247
+ "description": "还款状态名称"
28248
+ },
28249
+ "currency": {
28250
+ "type": "string",
28251
+ "title": "币种",
28252
+ "description": "币种"
28253
+ },
28254
+ "repaymentCurrency": {
28255
+ "type": "string",
28256
+ "title": "待还款币种",
28257
+ "description": "待还款币种"
28258
+ },
28259
+ "repaymentAmount": {
28260
+ "type": "string",
28261
+ "title": "待还金额",
28262
+ "description": "待还金额"
28263
+ },
28264
+ "time": {
28265
+ "type": "string",
28266
+ "title": "申请时间",
28267
+ "description": "申请时间"
28268
+ },
28269
+ "billList": {
28270
+ "type": "array",
28271
+ "title": "关联对账单",
28272
+ "description": "关联对账单",
28273
+ "items": {
28274
+ "type": "object",
28275
+ "properties": {
28276
+ "id": {
28277
+ "type": "string",
28278
+ "title": "对账单id/子账单id",
28279
+ "description": "对账单id/子账单id"
28280
+ },
28281
+ "name": {
28282
+ "type": "string",
28283
+ "title": "账单名称",
28284
+ "description": "账单名称"
28285
+ }
28286
+ }
28287
+ }
28288
+ },
28289
+ "invoiceModeType": {
28290
+ "type": "integer",
28291
+ "title": "开票模式",
28292
+ "description": "1 原始账单 / 2 对账单 / 3 子对账单 / 4 无账单",
28293
+ "format": "int32"
28294
+ },
28295
+ "invoiceModeName": {
28296
+ "type": "string",
28297
+ "title": "开票模式描述",
28298
+ "description": "开票模式描述"
28299
+ },
28300
+ "invoiceVatType": {
28301
+ "type": "string",
28302
+ "title": "VAT开票类型",
28303
+ "description": "ORDINARY / SPECIAL / E_ORDINARY / E_SPECIAL"
28304
+ },
28305
+ "invoiceVatTypeName": {
28306
+ "type": "string",
28307
+ "title": "VAT开票类型名称",
28308
+ "description": "VAT开票类型名称"
28309
+ }
28310
+ }
28311
+ }
28312
+ }
28313
+ },
28314
+ "title": "结算单分页"
28315
+ }
28316
+ }
28317
+ },
28318
+ "tenant": true,
28319
+ "roleScope": [
28320
+ "passport"
28321
+ ]
28322
+ },
28323
+ {
28324
+ "name": "invoice-settlement-detail",
28325
+ "displayName": "发票结算单详情",
28326
+ "description": "按结算单号查开票金额、税费、发票/VAT 明细与预览地址。",
28327
+ "group": "发票结算单",
28328
+ "method": "GET",
28329
+ "path": "/sino-wallet-pu/invoice/settlement/detail",
28330
+ "timeout": 180000,
28331
+ "tag": "发票结算单",
28332
+ "domain": "wallet",
28333
+ "shortcut": "+invoice-detail",
28334
+ "risk": "read",
28335
+ "summary": "发票结算单详情",
28336
+ "docFile": "wallet-invoice.md",
28337
+ "requestSchema": {
28338
+ "type": "object",
28339
+ "properties": {
28340
+ "invoiceSettlementId": {
28341
+ "type": "string",
28342
+ "description": "发票编号/结算单id"
28343
+ }
28344
+ },
28345
+ "required": [
28346
+ "invoiceSettlementId"
28347
+ ]
28348
+ },
28349
+ "queryParameters": [
28350
+ {
28351
+ "name": "invoiceSettlementId",
28352
+ "required": true,
28353
+ "schema": {
28354
+ "type": "string",
28355
+ "description": "发票编号/结算单id"
28356
+ },
28357
+ "explode": true
28358
+ }
28359
+ ],
28360
+ "responseSchema": {
28361
+ "type": "object",
28362
+ "properties": {
28363
+ "invoiceSettlementNo": {
28364
+ "type": "string",
28365
+ "title": "结算单id",
28366
+ "description": "结算单id"
28367
+ },
28368
+ "currency": {
28369
+ "type": "string",
28370
+ "title": "开票总金额币种",
28371
+ "description": "开票总金额币种"
28372
+ },
28373
+ "amount": {
28374
+ "type": "number",
28375
+ "title": "开票总金额",
28376
+ "description": "开票总金额"
28377
+ },
28378
+ "taxRate": {
28379
+ "type": "number",
28380
+ "title": "税点",
28381
+ "description": "税点"
28382
+ },
28383
+ "taxAmount": {
28384
+ "type": "number",
28385
+ "title": "税费",
28386
+ "description": "税费"
28387
+ },
28388
+ "repaymentCurrency": {
28389
+ "type": "string",
28390
+ "title": "还款金额币种",
28391
+ "description": "还款金额币种"
28392
+ },
28393
+ "settledAmount": {
28394
+ "type": "number",
28395
+ "title": "还款金额",
28396
+ "description": "还款金额"
28397
+ },
28398
+ "repaymentAmount": {
28399
+ "type": "number",
28400
+ "title": "待还款金额",
28401
+ "description": "待还款金额"
28402
+ },
28403
+ "invoiceType": {
28404
+ "type": "integer",
28405
+ "title": "发票形式code",
28406
+ "description": "1 Invoice / 2 VAT",
28407
+ "format": "int32"
28408
+ },
28409
+ "invoiceTypeName": {
28410
+ "type": "string",
28411
+ "title": "发票形式名称",
28412
+ "description": "发票形式名称"
28413
+ },
28414
+ "issuanceStatus": {
28415
+ "type": "string",
28416
+ "title": "开票状态code",
28417
+ "description": "开票状态code"
28418
+ },
28419
+ "issuanceStatusName": {
28420
+ "type": "string",
28421
+ "title": "开票状态名称",
28422
+ "description": "开票状态名称"
28423
+ },
28424
+ "paymentStatus": {
28425
+ "type": "string",
28426
+ "title": "还款状态code",
28427
+ "description": "还款状态code"
28428
+ },
28429
+ "paymentStatusName": {
28430
+ "type": "string",
28431
+ "title": "还款状态名称",
28432
+ "description": "还款状态名称"
28433
+ },
28434
+ "applyUserId": {
28435
+ "type": "string",
28436
+ "title": "申请人id",
28437
+ "description": "申请人id"
28438
+ },
28439
+ "applyUserName": {
28440
+ "type": "string",
28441
+ "title": "申请人姓名",
28442
+ "description": "申请人姓名"
28443
+ },
28444
+ "billList": {
28445
+ "type": "array",
28446
+ "title": "关联对账单",
28447
+ "description": "关联对账单",
28448
+ "items": {
28449
+ "type": "object",
28450
+ "properties": {
28451
+ "id": {
28452
+ "type": "string",
28453
+ "title": "对账单id/子账单id",
28454
+ "description": "对账单id/子账单id"
28455
+ },
28456
+ "name": {
28457
+ "type": "string",
28458
+ "title": "账单名称",
28459
+ "description": "账单名称"
28460
+ }
28461
+ }
28462
+ }
28463
+ },
28464
+ "invoiceModeType": {
28465
+ "type": "integer",
28466
+ "title": "开票模式",
28467
+ "description": "1 原始账单 / 2 对账单 / 3 子对账单 / 4 无账单",
28468
+ "format": "int32"
28469
+ },
28470
+ "invoiceSubjectsCode": {
28471
+ "type": "string",
28472
+ "title": "发票科目code",
28473
+ "description": "发票科目code"
28474
+ },
28475
+ "invoiceSubjectsName": {
28476
+ "type": "string",
28477
+ "title": "发票科目名称",
28478
+ "description": "发票科目名称"
28479
+ },
28480
+ "isPostal": {
28481
+ "type": "boolean",
28482
+ "title": "是否邮寄",
28483
+ "description": "VAT"
28484
+ },
28485
+ "recipientInfo": {
28486
+ "type": "object",
28487
+ "properties": {
28488
+ "recipientName": {
28489
+ "type": "string",
28490
+ "title": "邮寄联系人",
28491
+ "description": "邮寄联系人"
28492
+ },
28493
+ "recipientPhone": {
28494
+ "type": "string",
28495
+ "title": "邮寄电话",
28496
+ "description": "邮寄电话"
28497
+ },
28498
+ "recipientAddress": {
28499
+ "type": "string",
28500
+ "title": "邮寄地址",
28501
+ "description": "邮寄地址"
28502
+ }
28503
+ }
28504
+ },
28505
+ "invoiceInfo": {
28506
+ "type": "object",
28507
+ "properties": {
28508
+ "pdfUrl": {
28509
+ "type": "string",
28510
+ "title": "发票pdf预览url",
28511
+ "description": "Invoice 预览"
28512
+ }
28513
+ }
28514
+ },
28515
+ "vatInfo": {
28516
+ "type": "object",
28517
+ "properties": {
28518
+ "vatInvoiceItemInfoList": {
28519
+ "type": "array",
28520
+ "title": "发票明细",
28521
+ "description": "发票明细",
28522
+ "items": {
28523
+ "type": "object",
28524
+ "properties": {
28525
+ "id": {
28526
+ "type": "string",
28527
+ "title": "发票流水号",
28528
+ "description": "发票流水号"
28529
+ },
28530
+ "issuanceStatus": {
28531
+ "type": "integer",
28532
+ "title": "发票状态code",
28533
+ "description": "发票状态code",
28534
+ "format": "int32"
28535
+ },
28536
+ "issuanceStatusName": {
28537
+ "type": "string",
28538
+ "title": "发票状态名称",
28539
+ "description": "发票状态名称"
28540
+ },
28541
+ "invoiceType": {
28542
+ "type": "string",
28543
+ "title": "发票类型code",
28544
+ "description": "发票类型code"
28545
+ },
28546
+ "invoiceTypeName": {
28547
+ "type": "string",
28548
+ "title": "发票类型名称",
28549
+ "description": "专用、普通"
28550
+ },
28551
+ "colourCode": {
28552
+ "type": "integer",
28553
+ "title": "红蓝字code",
28554
+ "description": "红蓝字code",
28555
+ "format": "int32"
28556
+ },
28557
+ "colourName": {
28558
+ "type": "string",
28559
+ "title": "红蓝字名称",
28560
+ "description": "红蓝字名称"
28561
+ },
28562
+ "code": {
28563
+ "type": "string",
28564
+ "title": "发票代码",
28565
+ "description": "发票代码"
28566
+ },
28567
+ "number": {
28568
+ "type": "string",
28569
+ "title": "发票号码",
28570
+ "description": "发票号码"
28571
+ },
28572
+ "amount": {
28573
+ "type": "number",
28574
+ "title": "开票金额",
28575
+ "description": "开票金额"
28576
+ },
28577
+ "taxAmount": {
28578
+ "type": "number",
28579
+ "title": "开票税额",
28580
+ "description": "开票税额"
28581
+ },
28582
+ "nonTaxAmount": {
28583
+ "type": "number",
28584
+ "title": "不含税金额",
28585
+ "description": "不含税金额"
28586
+ },
28587
+ "time": {
28588
+ "type": "string",
28589
+ "title": "开票时间",
28590
+ "description": "开票时间"
28591
+ },
28592
+ "pdfUrl": {
28593
+ "type": "string",
28594
+ "title": "pdf预览url",
28595
+ "description": "ofd 无预览url"
28596
+ }
28597
+ }
28598
+ }
28599
+ },
28600
+ "totalAmount": {
28601
+ "type": "number",
28602
+ "title": "合计开票金额",
28603
+ "description": "合计开票金额"
28604
+ },
28605
+ "totalTaxAmount": {
28606
+ "type": "number",
28607
+ "title": "合计开票税额",
28608
+ "description": "合计开票税额"
28609
+ },
28610
+ "totalNonTaxAmount": {
28611
+ "type": "number",
28612
+ "title": "合计不含税金额",
28613
+ "description": "合计不含税金额"
28614
+ }
28615
+ }
28616
+ }
28617
+ }
28618
+ },
28619
+ "tenant": true,
28620
+ "roleScope": [
28621
+ "passport"
28622
+ ]
28623
+ },
28624
+ {
28625
+ "name": "invoice-download",
28626
+ "displayName": "下载发票",
28627
+ "description": "按结算单号和 PDF/OFD 返回发票下载 URL 列表。",
28628
+ "group": "发票结算单",
28629
+ "method": "POST",
28630
+ "path": "/sino-wallet-pu/invoice/settlement/invoice/download",
28631
+ "timeout": 180000,
28632
+ "tag": "发票结算单",
28633
+ "domain": "wallet",
28634
+ "shortcut": "+invoice-download",
28635
+ "risk": "read",
28636
+ "summary": "下载发票",
28637
+ "docFile": "wallet-invoice.md",
28638
+ "requestSchema": {
28639
+ "type": "object",
28640
+ "properties": {
28641
+ "invoiceSettlementId": {
28642
+ "type": "string",
28643
+ "title": "发票编号",
28644
+ "description": "结算单id"
28645
+ },
28646
+ "fileType": {
28647
+ "type": "string",
28648
+ "title": "文件类型",
28649
+ "description": "发票格式",
28650
+ "enum": [
28651
+ "PDF",
28652
+ "OFD"
28653
+ ]
28654
+ }
28655
+ },
28656
+ "required": [
28657
+ "invoiceSettlementId",
28658
+ "fileType"
28659
+ ]
28660
+ },
28661
+ "responseSchema": {
28662
+ "type": "array",
28663
+ "title": "下载URL列表",
28664
+ "description": "下载URL列表",
28665
+ "items": {
28666
+ "type": "string",
28667
+ "title": "下载url",
28668
+ "description": "下载url"
28669
+ }
28670
+ },
28671
+ "tenant": true,
28672
+ "roleScope": [
28673
+ "passport"
28674
+ ]
28675
+ },
28676
+ {
28677
+ "name": "invoice-settlement-payment-list",
28678
+ "displayName": "结算单还款记录",
28679
+ "description": "查结算单还款历史。",
28680
+ "group": "发票结算单",
28681
+ "method": "POST",
28682
+ "path": "/sino-wallet-pu/invoice/settlement/payment/list",
28683
+ "timeout": 180000,
28684
+ "tag": "发票结算单",
28685
+ "domain": "wallet",
28686
+ "shortcut": "+invoice-payments",
28687
+ "risk": "read",
28688
+ "summary": "结算单还款记录",
28689
+ "docFile": "wallet-invoice.md",
28690
+ "requestSchema": {
28691
+ "type": "object",
28692
+ "properties": {
28693
+ "invoiceSettlementId": {
28694
+ "type": "string",
28695
+ "title": "结算单id",
28696
+ "description": "结算单id"
28697
+ }
28698
+ },
28699
+ "required": [
28700
+ "invoiceSettlementId"
28701
+ ]
28702
+ },
28703
+ "responseSchema": {
28704
+ "type": "array",
28705
+ "title": "还款记录",
28706
+ "description": "还款记录",
28707
+ "items": {
28708
+ "type": "object",
28709
+ "properties": {
28710
+ "date": {
28711
+ "type": "string",
28712
+ "title": "还款日期",
28713
+ "description": "还款日期"
28714
+ },
28715
+ "currency": {
28716
+ "type": "string",
28717
+ "title": "还款币种",
28718
+ "description": "还款币种"
28719
+ },
28720
+ "amount": {
28721
+ "type": "number",
28722
+ "title": "还款金额",
28723
+ "description": "还款金额"
28724
+ },
28725
+ "operatorUserId": {
28726
+ "type": "string",
28727
+ "title": "操作人id",
28728
+ "description": "操作人id"
28729
+ },
28730
+ "operatorUserName": {
28731
+ "type": "string",
28732
+ "title": "操作人",
28733
+ "description": "操作人"
28734
+ }
28735
+ }
28736
+ }
28737
+ },
28738
+ "tenant": true,
28739
+ "roleScope": [
28740
+ "passport"
28741
+ ]
28742
+ },
28743
+ {
28744
+ "name": "bill-reconciliation-page",
28745
+ "displayName": "月度对账单列表",
28746
+ "description": "按月份区间分页查标准化对账文件(主体+月份,通常每月一条)。",
28747
+ "group": "月度对账单",
28748
+ "method": "POST",
28749
+ "path": "/sino-wallet-pu/platform/bill-reconciliation/page",
28750
+ "timeout": 180000,
28751
+ "tag": "月度对账单",
28752
+ "domain": "wallet",
28753
+ "shortcut": "+reconciliation",
28754
+ "risk": "read",
28755
+ "summary": "月度对账单列表",
28756
+ "docFile": "wallet-reconciliation.md",
28757
+ "requestSchema": {
28758
+ "type": "object",
28759
+ "properties": {
28760
+ "pageNum": {
28761
+ "type": "integer",
28762
+ "format": "int32",
28763
+ "title": "页码",
28764
+ "description": "页码,从 1 开始",
28765
+ "example": 1
28766
+ },
28767
+ "pageSize": {
28768
+ "type": "integer",
28769
+ "format": "int32",
28770
+ "title": "每页条数",
28771
+ "description": "每页条数",
28772
+ "example": 10
28773
+ },
28774
+ "billMonthStart": {
28775
+ "type": "string",
28776
+ "title": "账单起始月份",
28777
+ "description": "yyyy-MM",
28778
+ "example": "2026-06"
28779
+ },
28780
+ "billMonthEnd": {
28781
+ "type": "string",
28782
+ "title": "账单结束月份",
28783
+ "description": "yyyy-MM",
28784
+ "example": "2026-06"
28785
+ }
28786
+ },
28787
+ "required": [
28788
+ "billMonthStart",
28789
+ "billMonthEnd"
28790
+ ]
28791
+ },
28792
+ "responseSchema": {
28793
+ "type": "object",
28794
+ "properties": {
28795
+ "total": {
28796
+ "type": "integer",
28797
+ "title": "总数",
28798
+ "description": "总数",
28799
+ "format": "int64"
28800
+ },
28801
+ "result": {
28802
+ "type": "array",
28803
+ "title": "本页条目",
28804
+ "description": "本页条目",
28805
+ "items": {
28806
+ "type": "object",
28807
+ "properties": {
28808
+ "id": {
28809
+ "type": "integer",
28810
+ "title": "业财对账文件记录ID",
28811
+ "description": "业财对账文件记录ID",
28812
+ "format": "int32"
28813
+ },
28814
+ "billMonth": {
28815
+ "type": "string",
28816
+ "title": "账单月份",
28817
+ "description": "yyyy-MM"
28818
+ },
28819
+ "fileAndReceivableBalanceList": {
28820
+ "type": "array",
28821
+ "title": "对账文件及应收余额",
28822
+ "description": "与业财文件一一对应",
28823
+ "items": {
28824
+ "type": "object",
28825
+ "properties": {
28826
+ "currencyId": {
28827
+ "type": "integer",
28828
+ "title": "币种ID",
28829
+ "description": "币种ID",
28830
+ "format": "int32"
28831
+ },
28832
+ "currencyCode": {
28833
+ "type": "string",
28834
+ "title": "币种编码",
28835
+ "description": "币种编码"
28836
+ },
28837
+ "amount": {
28838
+ "type": "number",
28839
+ "title": "金额",
28840
+ "description": "金额"
28841
+ },
28842
+ "fileName": {
28843
+ "type": "string",
28844
+ "title": "文件名",
28845
+ "description": "文件名"
28846
+ },
28847
+ "fileId": {
28848
+ "type": "string",
28849
+ "title": "文件ID",
28850
+ "description": "换下载链接时作为 storageKey"
28851
+ },
28852
+ "fileType": {
28853
+ "type": "integer",
28854
+ "title": "对账文件类型",
28855
+ "description": "0 对账单 / 1 发票",
28856
+ "format": "int32"
28857
+ }
28858
+ }
28859
+ }
28860
+ },
28861
+ "receivableBalanceList": {
28862
+ "type": "array",
28863
+ "title": "应收余额",
28864
+ "description": "按币种聚合后的应收",
28865
+ "items": {
28866
+ "type": "object",
28867
+ "properties": {
28868
+ "currencyId": {
28869
+ "type": "integer",
28870
+ "title": "币种ID",
28871
+ "description": "币种ID",
28872
+ "format": "int32"
28873
+ },
28874
+ "currencyCode": {
28875
+ "type": "string",
28876
+ "title": "币种编码",
28877
+ "description": "币种编码"
28878
+ },
28879
+ "amount": {
28880
+ "type": "number",
28881
+ "title": "金额",
28882
+ "description": "按币种聚合"
28883
+ }
28884
+ }
28885
+ }
28886
+ },
28887
+ "generateTime": {
28888
+ "type": "string",
28889
+ "title": "生成时间",
28890
+ "description": "取文件最新时间"
28891
+ },
28892
+ "sendStatus": {
28893
+ "type": "string",
28894
+ "title": "发送状态",
28895
+ "description": "PENDING / SUCCESS / FAILED"
28896
+ },
28897
+ "sendStatusName": {
28898
+ "type": "string",
28899
+ "title": "发送状态中文",
28900
+ "description": "发送状态中文"
28901
+ },
28902
+ "emailSendRecordId": {
28903
+ "type": "string",
28904
+ "title": "本地邮件发送记录id",
28905
+ "description": "本地主键,不能用于预览"
28906
+ },
28907
+ "corporationId": {
28908
+ "type": "integer",
28909
+ "title": "签约主体id",
28910
+ "description": "响应字段,请求不要传",
28911
+ "format": "int32"
28912
+ },
28913
+ "corporationName": {
28914
+ "type": "string",
28915
+ "title": "签约主体名称",
28916
+ "description": "签约主体名称"
28917
+ }
28918
+ }
28919
+ }
28920
+ }
28921
+ },
28922
+ "title": "分页结果"
28923
+ },
28924
+ "pagination": {
28925
+ "pageField": "pageNum",
28926
+ "sizeField": "pageSize",
28927
+ "itemsField": "result",
28928
+ "totalField": "total"
28929
+ },
28930
+ "tenant": true,
28931
+ "roleScope": [
28932
+ "passport"
28933
+ ]
28934
+ },
28935
+ {
28936
+ "name": "bill-reconciliation-send-log",
28937
+ "displayName": "月度对账单发送记录",
28938
+ "description": "按账单月份分页查邮件发送记录。",
28939
+ "group": "月度对账单",
28940
+ "method": "POST",
28941
+ "path": "/sino-wallet-pu/platform/bill-reconciliation/send-log/page",
28942
+ "timeout": 180000,
28943
+ "tag": "月度对账单",
28944
+ "domain": "wallet",
28945
+ "shortcut": "+reconciliation-log",
28946
+ "risk": "read",
28947
+ "summary": "月度对账单发送记录",
28948
+ "docFile": "wallet-reconciliation.md",
28949
+ "requestSchema": {
28950
+ "type": "object",
28951
+ "properties": {
28952
+ "pageNum": {
28953
+ "type": "integer",
28954
+ "format": "int32",
28955
+ "title": "页码",
28956
+ "description": "页码,从 1 开始",
28957
+ "example": 1
28958
+ },
28959
+ "pageSize": {
28960
+ "type": "integer",
28961
+ "format": "int32",
28962
+ "title": "每页条数",
28963
+ "description": "每页条数",
28964
+ "example": 10
28965
+ },
28966
+ "billMonth": {
28967
+ "type": "string",
28968
+ "title": "账单月份",
28969
+ "description": "yyyy-MM",
28970
+ "example": "2026-06"
28971
+ }
28972
+ },
28973
+ "required": [
28974
+ "billMonth"
28975
+ ]
28976
+ },
28977
+ "responseSchema": {
28978
+ "type": "object",
28979
+ "properties": {
28980
+ "total": {
28981
+ "type": "integer",
28982
+ "title": "总数",
28983
+ "description": "总数",
28984
+ "format": "int64"
28985
+ },
28986
+ "result": {
28987
+ "type": "array",
28988
+ "title": "本页条目",
28989
+ "description": "本页条目",
28990
+ "items": {
28991
+ "type": "object",
28992
+ "properties": {
28993
+ "sendRecordId": {
28994
+ "type": "integer",
28995
+ "title": "业财邮件发送记录id",
28996
+ "description": "预览邮件时使用",
28997
+ "format": "int64"
28998
+ },
28999
+ "sendTime": {
29000
+ "type": "string",
29001
+ "title": "发送时间",
29002
+ "description": "yyyy-MM-dd HH:mm"
29003
+ },
29004
+ "sendStatus": {
29005
+ "type": "integer",
29006
+ "title": "发送状态值",
29007
+ "description": "发送状态值",
29008
+ "format": "int32"
29009
+ },
29010
+ "sendStatusName": {
29011
+ "type": "string",
29012
+ "title": "发送状态中文",
29013
+ "description": "发送状态中文"
29014
+ },
29015
+ "recipientEmailList": {
29016
+ "type": "array",
29017
+ "title": "收件人邮箱",
29018
+ "description": "收件人邮箱",
29019
+ "items": {
29020
+ "type": "string",
29021
+ "title": "收件人",
29022
+ "description": "收件人"
29023
+ }
29024
+ },
29025
+ "ccEmailList": {
29026
+ "type": "array",
29027
+ "title": "抄送人邮箱",
29028
+ "description": "抄送人邮箱",
29029
+ "items": {
29030
+ "type": "string",
29031
+ "title": "抄送人",
29032
+ "description": "抄送人"
29033
+ }
29034
+ },
29035
+ "senderEmailList": {
29036
+ "type": "array",
29037
+ "title": "发件人邮箱",
29038
+ "description": "发件人邮箱",
29039
+ "items": {
29040
+ "type": "string",
29041
+ "title": "发件人",
29042
+ "description": "发件人"
29043
+ }
29044
+ },
29045
+ "operatorName": {
29046
+ "type": "string",
29047
+ "title": "触发人名称",
29048
+ "description": "触发人名称"
29049
+ },
29050
+ "triggerType": {
29051
+ "type": "string",
29052
+ "title": "触发类型",
29053
+ "description": "AUTO / MANUAL"
29054
+ },
29055
+ "fileList": {
29056
+ "type": "array",
29057
+ "title": "附件列表",
29058
+ "description": "附件列表",
29059
+ "items": {
29060
+ "type": "object",
29061
+ "properties": {
29062
+ "fileName": {
29063
+ "type": "string",
29064
+ "title": "文件名",
29065
+ "description": "文件名"
29066
+ },
29067
+ "fileId": {
29068
+ "type": "string",
29069
+ "title": "文件ID",
29070
+ "description": "换下载链接时作为 storageKey"
29071
+ }
29072
+ }
29073
+ }
29074
+ },
29075
+ "emailContent": {
29076
+ "type": "string",
29077
+ "title": "邮件正文",
29078
+ "description": "邮件正文"
29079
+ }
29080
+ }
29081
+ }
29082
+ }
29083
+ },
29084
+ "title": "分页结果"
29085
+ },
29086
+ "pagination": {
29087
+ "pageField": "pageNum",
29088
+ "sizeField": "pageSize",
29089
+ "itemsField": "result",
29090
+ "totalField": "total"
29091
+ },
29092
+ "tenant": true,
29093
+ "roleScope": [
29094
+ "passport"
29095
+ ]
29096
+ },
29097
+ {
29098
+ "name": "bill-reconciliation-email-preview",
29099
+ "displayName": "对账邮件预览",
29100
+ "description": "按业财发送记录 id 返回邮件 HTML。不要用列表里的本地 emailSendRecordId。",
29101
+ "group": "月度对账单",
29102
+ "method": "POST",
29103
+ "path": "/sino-wallet-pu/platform/bill-reconciliation/send-log/preview",
29104
+ "timeout": 180000,
29105
+ "tag": "月度对账单",
29106
+ "domain": "wallet",
29107
+ "shortcut": "+reconciliation-preview",
29108
+ "risk": "read",
29109
+ "summary": "对账邮件预览",
29110
+ "docFile": "wallet-reconciliation.md",
29111
+ "requestSchema": {
29112
+ "type": "object",
29113
+ "properties": {
29114
+ "sendRecordId": {
29115
+ "type": "integer",
29116
+ "title": "业财发送记录id",
29117
+ "description": "发送记录页的 sendRecordId",
29118
+ "format": "int64"
29119
+ }
29120
+ },
29121
+ "required": [
29122
+ "sendRecordId"
29123
+ ]
29124
+ },
29125
+ "responseSchema": {
29126
+ "type": "string",
29127
+ "title": "邮件HTML",
29128
+ "description": "邮件HTML"
29129
+ },
29130
+ "tenant": true,
29131
+ "roleScope": [
29132
+ "passport"
29133
+ ]
29134
+ },
29135
+ {
29136
+ "name": "bill-reconciliation-download-url",
29137
+ "displayName": "月度对账单下载链接",
29138
+ "description": "用文件 storageKey(即列表 fileId)换 3 小时有效下载/预览 URL。不要传 corporationId。",
29139
+ "group": "月度对账单",
29140
+ "method": "GET",
29141
+ "path": "/sino-wallet-pu/platform/bill-reconciliation/generate/download-url",
29142
+ "timeout": 180000,
29143
+ "tag": "月度对账单",
29144
+ "domain": "wallet",
29145
+ "shortcut": "+reconciliation-url",
29146
+ "risk": "read",
29147
+ "summary": "月度对账单下载链接",
29148
+ "docFile": "wallet-reconciliation.md",
29149
+ "requestSchema": {
29150
+ "type": "object",
29151
+ "properties": {
29152
+ "storageKey": {
29153
+ "type": "string",
29154
+ "description": "文件存储 key,即列表 fileId"
29155
+ }
29156
+ },
29157
+ "required": [
29158
+ "storageKey"
29159
+ ]
29160
+ },
29161
+ "queryParameters": [
29162
+ {
29163
+ "name": "storageKey",
29164
+ "required": true,
29165
+ "schema": {
29166
+ "type": "string",
29167
+ "description": "文件存储 key,即列表 fileId"
29168
+ },
29169
+ "explode": true
29170
+ }
29171
+ ],
29172
+ "responseSchema": {
29173
+ "type": "object",
29174
+ "properties": {
29175
+ "storageKey": {
29176
+ "type": "string",
29177
+ "title": "存储key",
29178
+ "description": "存储key"
29179
+ },
29180
+ "url": {
29181
+ "type": "string",
29182
+ "title": "下载url",
29183
+ "description": "下载url"
29184
+ },
29185
+ "documentPreviewUrl": {
29186
+ "type": "string",
29187
+ "title": "预览url",
29188
+ "description": "预览url"
29189
+ },
29190
+ "fileName": {
29191
+ "type": "string",
29192
+ "title": "文件名",
29193
+ "description": "文件名"
29194
+ }
29195
+ }
29196
+ },
29197
+ "tenant": true,
29198
+ "roleScope": [
29199
+ "passport"
29200
+ ]
29201
+ },
29202
+ {
29203
+ "name": "quota-credit-info",
29204
+ "displayName": "后付信用额度",
29205
+ "description": "查当前主体后付授信与使用率;非后付不展示。",
29206
+ "group": "后付额度",
29207
+ "method": "GET",
29208
+ "path": "/sino-wallet-pu/platform/quota/credit/info",
29209
+ "timeout": 180000,
29210
+ "tag": "后付额度",
29211
+ "domain": "wallet",
29212
+ "shortcut": "+credit",
29213
+ "risk": "read",
29214
+ "summary": "后付信用额度",
29215
+ "docFile": "wallet-quota.md",
29216
+ "responseSchema": {
29217
+ "type": "object",
29218
+ "properties": {
29219
+ "showInfo": {
29220
+ "type": "boolean",
29221
+ "title": "是否展示信用额度信息",
29222
+ "description": "非后付或风控黑名单为 false"
29223
+ },
29224
+ "isMonitorAmount": {
29225
+ "type": "integer",
29226
+ "title": "控额类型",
29227
+ "description": "0 不控额 / 1 主体控额 / 2 合并控额",
29228
+ "format": "int32"
29229
+ },
29230
+ "isMonitorAmountName": {
29231
+ "type": "string",
29232
+ "title": "控额类型名称",
29233
+ "description": "控额类型名称"
29234
+ },
29235
+ "groupCreditCorporationCount": {
29236
+ "type": "integer",
29237
+ "title": "合并控额主体数量",
29238
+ "description": "合并控额主体数量",
29239
+ "format": "int32"
29240
+ },
29241
+ "quotaUsageRate": {
29242
+ "type": "number",
29243
+ "title": "额度使用率",
29244
+ "description": "已乘以 100"
29245
+ },
29246
+ "lineOfCredit": {
29247
+ "type": "number",
29248
+ "title": "授信额度",
29249
+ "description": "授信额度"
29250
+ }
29251
+ }
29252
+ },
29253
+ "tenant": true,
29254
+ "roleScope": [
29255
+ "passport"
29256
+ ]
29257
+ },
29258
+ {
29259
+ "name": "wallet-own",
29260
+ "displayName": "钱包首页",
29261
+ "description": "查当前主体钱包:预付给现金/待还,后付给现金+信用金。",
29262
+ "group": "预付钱包",
29263
+ "method": "GET",
29264
+ "path": "/sino-wallet-pu/platform/wallet/own",
29265
+ "timeout": 180000,
29266
+ "tag": "预付钱包",
29267
+ "domain": "wallet",
29268
+ "shortcut": "+own",
29269
+ "risk": "read",
29270
+ "summary": "钱包首页",
29271
+ "docFile": "wallet-prepaid.md",
29272
+ "responseSchema": {
29273
+ "type": "object",
29274
+ "properties": {
29275
+ "walletPayType": {
29276
+ "type": "string",
29277
+ "title": "支付类型",
29278
+ "description": "PRE 预付 / POST 后付",
29279
+ "enum": [
29280
+ "PRE",
29281
+ "POST"
29282
+ ]
29283
+ },
29284
+ "prepareDetailVo": {
29285
+ "type": "object",
29286
+ "properties": {
29287
+ "cashItemVos": {
29288
+ "type": "array",
29289
+ "title": "现金明细",
29290
+ "description": "现金明细",
29291
+ "items": {
29292
+ "type": "object",
29293
+ "properties": {
29294
+ "accountNo": {
29295
+ "type": "string",
29296
+ "title": "账户编号",
29297
+ "description": "账户编号"
29298
+ },
29299
+ "currency": {
29300
+ "type": "string",
29301
+ "title": "币种",
29302
+ "description": "USD / CNY / HKD / EUR / GBP / JPY"
29303
+ },
29304
+ "currencyName": {
29305
+ "type": "string",
29306
+ "title": "币种描述",
29307
+ "description": "币种描述"
29308
+ },
29309
+ "amount": {
29310
+ "type": "number",
29311
+ "title": "金额",
29312
+ "description": "金额"
29313
+ },
29314
+ "accountType": {
29315
+ "type": "string",
29316
+ "title": "账户分类",
29317
+ "description": "CASH / REBATE / CREDIT"
29318
+ },
29319
+ "usdExchangeRate": {
29320
+ "type": "number",
29321
+ "title": "对美金汇率",
29322
+ "description": "对美金汇率"
29323
+ },
29324
+ "usdAmount": {
29325
+ "type": "number",
29326
+ "title": "兑换美金金额",
29327
+ "description": "兑换美金金额"
29328
+ },
29329
+ "currencySortWeight": {
29330
+ "type": "number",
29331
+ "title": "币种排序",
29332
+ "description": "币种排序"
29333
+ },
29334
+ "accountTypeSortWeight": {
29335
+ "type": "number",
29336
+ "title": "币种户排序",
29337
+ "description": "币种户排序"
29338
+ }
29339
+ }
29340
+ }
29341
+ },
29342
+ "debtItemVos": {
29343
+ "type": "array",
29344
+ "title": "待还明细",
29345
+ "description": "待还明细",
29346
+ "items": {
29347
+ "type": "object",
29348
+ "properties": {
29349
+ "accountNo": {
29350
+ "type": "string",
29351
+ "title": "账户编号",
29352
+ "description": "账户编号"
29353
+ },
29354
+ "currency": {
29355
+ "type": "string",
29356
+ "title": "币种",
29357
+ "description": "USD / CNY / HKD / EUR / GBP / JPY"
29358
+ },
29359
+ "currencyName": {
29360
+ "type": "string",
29361
+ "title": "币种描述",
29362
+ "description": "币种描述"
29363
+ },
29364
+ "amount": {
29365
+ "type": "number",
29366
+ "title": "金额",
29367
+ "description": "金额"
29368
+ },
29369
+ "accountType": {
29370
+ "type": "string",
29371
+ "title": "账户分类",
29372
+ "description": "CASH / REBATE / CREDIT"
29373
+ },
29374
+ "usdExchangeRate": {
29375
+ "type": "number",
29376
+ "title": "对美金汇率",
29377
+ "description": "对美金汇率"
29378
+ },
29379
+ "usdAmount": {
29380
+ "type": "number",
29381
+ "title": "兑换美金金额",
29382
+ "description": "兑换美金金额"
29383
+ },
29384
+ "currencySortWeight": {
29385
+ "type": "number",
29386
+ "title": "币种排序",
29387
+ "description": "币种排序"
29388
+ },
29389
+ "accountTypeSortWeight": {
29390
+ "type": "number",
29391
+ "title": "币种户排序",
29392
+ "description": "币种户排序"
29393
+ }
29394
+ }
29395
+ }
29396
+ }
29397
+ }
29398
+ },
29399
+ "afterDetailVo": {
29400
+ "type": "object",
29401
+ "properties": {
29402
+ "amountVo": {
29403
+ "type": "object",
29404
+ "properties": {
29405
+ "cash": {
29406
+ "type": "number",
29407
+ "title": "现金总可用",
29408
+ "description": "美元口径"
29409
+ },
29410
+ "credit": {
29411
+ "type": "number",
29412
+ "title": "信用风控额度",
29413
+ "description": "美元口径"
29414
+ },
29415
+ "used": {
29416
+ "type": "number",
29417
+ "title": "已使用额度",
29418
+ "description": "已用+冻结,美元口径"
29419
+ },
29420
+ "total": {
29421
+ "type": "number",
29422
+ "title": "钱包总额",
29423
+ "description": "现金+信用金-已使用,美元口径"
29424
+ }
29425
+ }
29426
+ },
29427
+ "cashVo": {
29428
+ "type": "object",
29429
+ "properties": {
29430
+ "total": {
29431
+ "type": "number",
29432
+ "title": "现金总可用",
29433
+ "description": "现金户+返点户"
29434
+ },
29435
+ "currencyItemVos": {
29436
+ "type": "array",
29437
+ "title": "现金明细",
29438
+ "description": "现金+返点币种户",
29439
+ "items": {
29440
+ "type": "object",
29441
+ "properties": {
29442
+ "accountNo": {
29443
+ "type": "string",
29444
+ "title": "账户编号",
29445
+ "description": "账户编号"
29446
+ },
29447
+ "currency": {
29448
+ "type": "string",
29449
+ "title": "币种",
29450
+ "description": "USD / CNY / HKD / EUR / GBP / JPY"
29451
+ },
29452
+ "currencyName": {
29453
+ "type": "string",
29454
+ "title": "币种描述",
29455
+ "description": "币种描述"
29456
+ },
29457
+ "amount": {
29458
+ "type": "number",
29459
+ "title": "金额",
29460
+ "description": "金额"
29461
+ },
29462
+ "accountType": {
29463
+ "type": "string",
29464
+ "title": "账户分类",
29465
+ "description": "CASH / REBATE / CREDIT"
29466
+ },
29467
+ "usdExchangeRate": {
29468
+ "type": "number",
29469
+ "title": "对美金汇率",
29470
+ "description": "对美金汇率"
29471
+ },
29472
+ "usdAmount": {
29473
+ "type": "number",
29474
+ "title": "兑换美金金额",
29475
+ "description": "兑换美金金额"
29476
+ },
29477
+ "currencySortWeight": {
29478
+ "type": "number",
29479
+ "title": "币种排序",
29480
+ "description": "币种排序"
29481
+ },
29482
+ "accountTypeSortWeight": {
29483
+ "type": "number",
29484
+ "title": "币种户排序",
29485
+ "description": "币种户排序"
29486
+ }
29487
+ }
29488
+ }
29489
+ }
29490
+ }
29491
+ },
29492
+ "creditVo": {
29493
+ "type": "object",
29494
+ "properties": {
29495
+ "total": {
29496
+ "type": "number",
29497
+ "title": "信用风控额度",
29498
+ "description": "信用风控额度"
29499
+ }
29500
+ }
29501
+ }
29502
+ }
29503
+ }
29504
+ }
29505
+ },
29506
+ "tenant": true,
29507
+ "roleScope": [
29508
+ "passport"
29509
+ ]
29510
+ },
29511
+ {
29512
+ "name": "wallet-change-recent",
29513
+ "displayName": "最近钱包流水",
29514
+ "description": "钱包首页最近消费/返额,默认 7 条。",
29515
+ "group": "预付钱包",
29516
+ "method": "GET",
29517
+ "path": "/sino-wallet-pu/platform/wallet/recent/walletchangeitem",
29518
+ "timeout": 180000,
29519
+ "tag": "预付钱包",
29520
+ "domain": "wallet",
29521
+ "shortcut": "+change-recent",
29522
+ "risk": "read",
29523
+ "summary": "最近钱包流水",
29524
+ "docFile": "wallet-prepaid.md",
29525
+ "requestSchema": {
29526
+ "type": "object",
29527
+ "properties": {
29528
+ "pageSize": {
29529
+ "type": "integer",
29530
+ "description": "条数,默认 7"
29531
+ }
29532
+ },
29533
+ "required": []
29534
+ },
29535
+ "queryParameters": [
29536
+ {
29537
+ "name": "pageSize",
29538
+ "required": false,
29539
+ "schema": {
29540
+ "type": "integer",
29541
+ "description": "条数,默认 7"
29542
+ },
29543
+ "explode": true
29544
+ }
29545
+ ],
29546
+ "responseSchema": {
29547
+ "type": "array",
29548
+ "title": "最近钱包流水",
29549
+ "description": "最近钱包流水",
29550
+ "items": {
29551
+ "type": "object",
29552
+ "properties": {
29553
+ "changeTime": {
29554
+ "type": "string",
29555
+ "title": "变动时间",
29556
+ "description": "变动时间"
29557
+ },
29558
+ "flowNo": {
29559
+ "type": "string",
29560
+ "title": "平台流水单号",
29561
+ "description": "平台流水单号"
29562
+ },
29563
+ "source": {
29564
+ "type": "string",
29565
+ "title": "交易来源",
29566
+ "description": "交易来源"
29567
+ },
29568
+ "accountsType": {
29569
+ "type": "string",
29570
+ "title": "账务类型",
29571
+ "description": "账务类型"
29572
+ },
29573
+ "currency": {
29574
+ "type": "string",
29575
+ "title": "币种",
29576
+ "description": "币种"
29577
+ },
29578
+ "currencyName": {
29579
+ "type": "string",
29580
+ "title": "币种描述",
29581
+ "description": "币种描述"
29582
+ },
29583
+ "accountType": {
29584
+ "type": "string",
29585
+ "title": "账户分类",
29586
+ "description": "CASH / REBATE / CREDIT"
29587
+ },
29588
+ "amount": {
29589
+ "type": "number",
29590
+ "title": "本次消费额度",
29591
+ "description": "本次消费额度"
29592
+ },
29593
+ "usedAmount": {
29594
+ "type": "number",
29595
+ "title": "已消费额度",
29596
+ "description": "已冻+已用"
29597
+ },
29598
+ "plusOrMinus": {
29599
+ "type": "string",
29600
+ "title": "金额正负",
29601
+ "description": "+ 或 -"
29602
+ },
29603
+ "departmentCode": {
29604
+ "type": "string",
29605
+ "title": "团队编码",
29606
+ "description": "团队编码"
29607
+ },
29608
+ "departmentName": {
29609
+ "type": "string",
29610
+ "title": "使用团队",
29611
+ "description": "使用团队"
29612
+ },
29613
+ "operatorId": {
29614
+ "type": "integer",
29615
+ "title": "操作人id",
29616
+ "description": "操作人id",
29617
+ "format": "int32"
29618
+ },
29619
+ "operator": {
29620
+ "type": "string",
29621
+ "title": "操作人",
29622
+ "description": "操作人"
29623
+ },
29624
+ "changeAccount": {
29625
+ "type": "string",
29626
+ "title": "影响账户",
29627
+ "description": "影响账户"
29628
+ },
29629
+ "overageAmount": {
29630
+ "type": "number",
29631
+ "title": "可用余额",
29632
+ "description": "可用余额"
29633
+ },
29634
+ "remark": {
29635
+ "type": "string",
29636
+ "title": "单据备注",
29637
+ "description": "单据备注"
29638
+ },
29639
+ "externalBizType": {
29640
+ "type": "string",
29641
+ "title": "账务类型",
29642
+ "description": "ExternalBizTypeEnum"
29643
+ },
29644
+ "externalBizTypeDesc": {
29645
+ "type": "string",
29646
+ "title": "账务类型描述",
29647
+ "description": "中台描述"
29648
+ },
29649
+ "flowDirection": {
29650
+ "type": "integer",
29651
+ "title": "流水收支方向",
29652
+ "description": "FlowDirectionEnum",
29653
+ "format": "int32"
29654
+ },
29655
+ "flowDirectionDesc": {
29656
+ "type": "string",
29657
+ "title": "流水收支方向描述",
29658
+ "description": "中台描述"
29659
+ }
29660
+ }
29661
+ }
29662
+ },
29663
+ "tenant": true,
29664
+ "roleScope": [
29665
+ "passport"
29666
+ ]
29667
+ },
29668
+ {
29669
+ "name": "wallet-recharge-recent",
29670
+ "displayName": "最近充值记录",
29671
+ "description": "钱包首页最近充值,默认 7 条。",
29672
+ "group": "预付钱包",
29673
+ "method": "GET",
29674
+ "path": "/sino-wallet-pu/platform/wallet/recent/recharge",
29675
+ "timeout": 180000,
29676
+ "tag": "预付钱包",
29677
+ "domain": "wallet",
29678
+ "shortcut": "+recharge-recent",
29679
+ "risk": "read",
29680
+ "summary": "最近充值记录",
29681
+ "docFile": "wallet-prepaid.md",
29682
+ "requestSchema": {
29683
+ "type": "object",
29684
+ "properties": {
29685
+ "pageSize": {
29686
+ "type": "integer",
29687
+ "description": "条数,默认 7"
29688
+ }
29689
+ },
29690
+ "required": []
29691
+ },
29692
+ "queryParameters": [
29693
+ {
29694
+ "name": "pageSize",
29695
+ "required": false,
29696
+ "schema": {
29697
+ "type": "integer",
29698
+ "description": "条数,默认 7"
29699
+ },
29700
+ "explode": true
29701
+ }
29702
+ ],
29703
+ "responseSchema": {
29704
+ "type": "array",
29705
+ "title": "最近充值",
29706
+ "description": "最近充值",
29707
+ "items": {
29708
+ "type": "object",
29709
+ "properties": {
29710
+ "incomeTime": {
29711
+ "type": "string",
29712
+ "title": "入账时间",
29713
+ "description": "入账时间"
29714
+ },
29715
+ "paymentBankStatementId": {
29716
+ "type": "string",
29717
+ "title": "银行流水单号",
29718
+ "description": "银行流水单号"
29719
+ },
29720
+ "paymentTime": {
29721
+ "type": "string",
29722
+ "title": "打款时间",
29723
+ "description": "打款时间"
29724
+ },
29725
+ "paymentBankAccount": {
29726
+ "type": "string",
29727
+ "title": "打款银行账户",
29728
+ "description": "打款银行账户"
29729
+ },
29730
+ "incomeName": {
29731
+ "type": "string",
29732
+ "title": "收款方名称",
29733
+ "description": "收款方名称"
29734
+ },
29735
+ "incomeBankName": {
29736
+ "type": "string",
29737
+ "title": "收款方银行名称",
29738
+ "description": "收款方银行名称"
29739
+ },
29740
+ "paymentName": {
29741
+ "type": "string",
29742
+ "title": "打款方名称",
29743
+ "description": "打款方名称"
29744
+ },
29745
+ "incomeBankAccount": {
29746
+ "type": "string",
29747
+ "title": "平台收款方银行账户",
29748
+ "description": "平台收款方银行账户"
29749
+ },
29750
+ "paymentType": {
29751
+ "type": "string",
29752
+ "title": "充值方式",
29753
+ "description": "默认返回银行转账"
29754
+ },
29755
+ "paymentAmount": {
29756
+ "type": "string",
29757
+ "title": "充值金额",
29758
+ "description": "充值金额"
29759
+ },
29760
+ "currency": {
29761
+ "type": "string",
29762
+ "title": "充值币种",
29763
+ "description": "充值币种"
29764
+ },
29765
+ "currencyName": {
29766
+ "type": "string",
29767
+ "title": "充值币种描述",
29768
+ "description": "充值币种描述"
29769
+ },
29770
+ "paymentRemark": {
29771
+ "type": "string",
29772
+ "title": "转账附言",
29773
+ "description": "操作附言|转账附言"
29774
+ },
29775
+ "rechargeStatementId": {
29776
+ "type": "string",
29777
+ "title": "平台充值入账单号",
29778
+ "description": "平台充值入账单号"
29779
+ },
29780
+ "feeAmount": {
29781
+ "type": "number",
29782
+ "title": "支付商手续费金额",
29783
+ "description": "支付商手续费金额"
29784
+ },
29785
+ "feeCurrency": {
29786
+ "type": "string",
29787
+ "title": "支付商手续费币种",
29788
+ "description": "支付商手续费币种"
29789
+ }
29790
+ }
29791
+ }
29792
+ },
29793
+ "tenant": true,
29794
+ "roleScope": [
29795
+ "passport"
29796
+ ]
29797
+ },
29798
+ {
29799
+ "name": "wallet-currency-list",
29800
+ "displayName": "钱包币种列表",
29801
+ "description": "当前主体可用币种。",
29802
+ "group": "预付钱包",
29803
+ "method": "GET",
29804
+ "path": "/sino-wallet-pu/platform/wallet/currency/list",
29805
+ "timeout": 180000,
29806
+ "tag": "预付钱包",
29807
+ "domain": "wallet",
29808
+ "shortcut": "+currency",
29809
+ "risk": "read",
29810
+ "summary": "钱包币种列表",
29811
+ "docFile": "wallet-prepaid.md",
29812
+ "responseSchema": {
29813
+ "type": "array",
29814
+ "title": "币种列表",
29815
+ "description": "币种列表",
29816
+ "items": {
29817
+ "type": "object",
29818
+ "properties": {
29819
+ "currency": {
29820
+ "type": "string",
29821
+ "title": "币种",
29822
+ "description": "USD / CNY / HKD / EUR / GBP / JPY"
29823
+ },
29824
+ "currencyName": {
29825
+ "type": "string",
29826
+ "title": "币种描述",
29827
+ "description": "币种描述"
29828
+ },
29829
+ "currencySortWeight": {
29830
+ "type": "number",
29831
+ "title": "币种排序",
29832
+ "description": "币种排序"
29833
+ }
29834
+ }
29835
+ }
29836
+ },
29837
+ "tenant": true,
29838
+ "roleScope": [
29839
+ "passport"
29840
+ ]
29841
+ },
29842
+ {
29843
+ "name": "wallet-cash-change-accounts-type",
29844
+ "displayName": "现金账务类型",
29845
+ "description": "现金收支筛选项:账务类型与流水方向。",
29846
+ "group": "预付钱包",
29847
+ "method": "GET",
29848
+ "path": "/sino-wallet-pu/platform/wallet/cashchange/list/accountstype",
29849
+ "timeout": 180000,
29850
+ "tag": "预付钱包",
29851
+ "domain": "wallet",
29852
+ "shortcut": "+cash-accounts",
29853
+ "risk": "read",
29854
+ "summary": "现金账务类型",
29855
+ "docFile": "wallet-prepaid.md",
29856
+ "responseSchema": {
29857
+ "type": "array",
29858
+ "title": "账务类型",
29859
+ "description": "账务类型",
29860
+ "items": {
29861
+ "type": "object",
29862
+ "properties": {
29863
+ "accountsType": {
29864
+ "type": "string",
29865
+ "title": "类型",
29866
+ "description": "类型"
29867
+ },
29868
+ "desc": {
29869
+ "type": "string",
29870
+ "title": "描述",
29871
+ "description": "描述"
29872
+ },
29873
+ "itemVoList": {
29874
+ "type": "array",
29875
+ "title": "子节点",
29876
+ "description": "账务类型子项",
29877
+ "items": {
29878
+ "type": "object",
29879
+ "properties": {
29880
+ "externalBizType": {
29881
+ "type": "string",
29882
+ "title": "账务类型",
29883
+ "description": "ExternalBizTypeEnum"
29884
+ },
29885
+ "externalBizTypeDesc": {
29886
+ "type": "string",
29887
+ "title": "账务类型描述",
29888
+ "description": "账务类型描述"
29889
+ },
29890
+ "flowDirectionList": {
29891
+ "type": "array",
29892
+ "title": "流水方向列表",
29893
+ "description": "给流水查询用",
29894
+ "items": {
29895
+ "type": "string",
29896
+ "title": "流水方向",
29897
+ "description": "流水方向 name"
29898
+ }
29899
+ }
29900
+ }
29901
+ }
29902
+ }
29903
+ }
29904
+ }
29905
+ },
29906
+ "tenant": true,
29907
+ "roleScope": [
29908
+ "passport"
29909
+ ]
29910
+ },
29911
+ {
29912
+ "name": "wallet-cash-change-list",
29913
+ "displayName": "现金收支明细",
29914
+ "description": "分页查现金/返点账户流水。响应不含收支汇总。",
29915
+ "group": "预付钱包",
29916
+ "method": "POST",
29917
+ "path": "/sino-wallet-pu/platform/wallet/cashchange/list",
29918
+ "timeout": 180000,
29919
+ "tag": "预付钱包",
29920
+ "domain": "wallet",
29921
+ "shortcut": "+cash-change",
29922
+ "risk": "read",
29923
+ "summary": "现金收支明细",
29924
+ "docFile": "wallet-prepaid.md",
29925
+ "requestSchema": {
29926
+ "type": "object",
29927
+ "properties": {
29928
+ "pageNum": {
29929
+ "type": "integer",
29930
+ "format": "int32",
29931
+ "title": "页码",
29932
+ "description": "页码,从 1 开始",
29933
+ "example": 1
29934
+ },
29935
+ "pageSize": {
29936
+ "type": "integer",
29937
+ "format": "int32",
29938
+ "title": "每页条数",
29939
+ "description": "每页条数",
29940
+ "example": 10
29941
+ },
29942
+ "changeTimeOrderBy": {
29943
+ "type": "string",
29944
+ "title": "变动时间排序",
29945
+ "description": "desc 倒序 / asc 正序",
29946
+ "enum": [
29947
+ "desc",
29948
+ "asc"
29949
+ ]
29950
+ },
29951
+ "startTime": {
29952
+ "type": "string",
29953
+ "title": "开始日期",
29954
+ "description": "开始日期"
29955
+ },
29956
+ "endTime": {
29957
+ "type": "string",
29958
+ "title": "结束日期",
29959
+ "description": "结束日期"
29960
+ },
29961
+ "externalBizType": {
29962
+ "type": "string",
29963
+ "title": "账务类型",
29964
+ "description": "来自现金账务类型接口"
29965
+ },
29966
+ "flowDirectionList": {
29967
+ "type": "array",
29968
+ "title": "流水收支方向",
29969
+ "description": "来自账务类型接口",
29970
+ "items": {
29971
+ "type": "string",
29972
+ "title": "流水方向",
29973
+ "description": "流水方向 name"
29974
+ }
29975
+ },
29976
+ "incomeAndExpensesType": {
29977
+ "type": "string",
29978
+ "title": "收支类型",
29979
+ "description": "income 收入 / expenses 支出",
29980
+ "enum": [
29981
+ "income",
29982
+ "expenses"
29983
+ ]
29984
+ },
29985
+ "currencyList": {
29986
+ "type": "array",
29987
+ "title": "币种类型",
29988
+ "description": "币种类型",
29989
+ "items": {
29990
+ "type": "string",
29991
+ "title": "币种",
29992
+ "description": "币种"
29993
+ }
29994
+ },
29995
+ "flowNo": {
29996
+ "type": "string",
29997
+ "title": "流水单号",
29998
+ "description": "流水单号"
29999
+ },
30000
+ "min": {
30001
+ "type": "number",
30002
+ "title": "收支金额最小值",
30003
+ "description": "收支金额最小值"
30004
+ },
30005
+ "max": {
30006
+ "type": "number",
30007
+ "title": "收支金额最大值",
30008
+ "description": "收支金额最大值"
30009
+ },
30010
+ "operatorIds": {
30011
+ "type": "array",
30012
+ "title": "操作人",
30013
+ "description": "操作人",
30014
+ "items": {
30015
+ "type": "integer",
30016
+ "title": "操作人id",
30017
+ "description": "操作人id",
30018
+ "format": "int32"
30019
+ }
30020
+ },
30021
+ "departmentCodeList": {
30022
+ "type": "array",
30023
+ "title": "团队编码",
30024
+ "description": "含顶级团队时服务端会再加管理员团队 0",
30025
+ "items": {
30026
+ "type": "string",
30027
+ "title": "团队编码",
30028
+ "description": "团队编码"
30029
+ }
30030
+ },
30031
+ "collectFlag": {
30032
+ "type": "boolean",
30033
+ "title": "是否获取汇总信息",
30034
+ "description": "本契约丢弃汇总,可不传"
30035
+ }
30036
+ },
30037
+ "required": [
30038
+ "changeTimeOrderBy"
30039
+ ]
30040
+ },
30041
+ "responseSchema": {
30042
+ "type": "object",
30043
+ "properties": {
30044
+ "total": {
30045
+ "type": "integer",
30046
+ "title": "总数",
30047
+ "description": "总数",
30048
+ "format": "int64"
30049
+ },
30050
+ "result": {
30051
+ "type": "array",
30052
+ "title": "本页条目",
30053
+ "description": "本页条目",
30054
+ "items": {
30055
+ "type": "object",
30056
+ "properties": {
30057
+ "changeTime": {
30058
+ "type": "string",
30059
+ "title": "变动时间",
30060
+ "description": "变动时间"
30061
+ },
30062
+ "flowNo": {
30063
+ "type": "string",
30064
+ "title": "平台流水单号",
30065
+ "description": "平台流水单号"
30066
+ },
30067
+ "source": {
30068
+ "type": "string",
30069
+ "title": "交易来源",
30070
+ "description": "交易来源"
30071
+ },
30072
+ "accountsType": {
30073
+ "type": "string",
30074
+ "title": "账务类型",
30075
+ "description": "账务类型"
30076
+ },
30077
+ "currency": {
30078
+ "type": "string",
30079
+ "title": "币种",
30080
+ "description": "币种"
30081
+ },
30082
+ "currencyName": {
30083
+ "type": "string",
30084
+ "title": "币种描述",
30085
+ "description": "币种描述"
30086
+ },
30087
+ "accountType": {
30088
+ "type": "string",
30089
+ "title": "账户分类",
30090
+ "description": "CASH / REBATE / CREDIT"
30091
+ },
30092
+ "amount": {
30093
+ "type": "number",
30094
+ "title": "收支金额",
30095
+ "description": "收支金额"
30096
+ },
30097
+ "availableAmount": {
30098
+ "type": "number",
30099
+ "title": "现金账户可用金额",
30100
+ "description": "现金账户可用金额"
30101
+ },
30102
+ "plusOrMinus": {
30103
+ "type": "string",
30104
+ "title": "金额正负",
30105
+ "description": "+ 或 -"
30106
+ },
30107
+ "departmentCode": {
30108
+ "type": "string",
30109
+ "title": "团队编码",
30110
+ "description": "团队编码"
30111
+ },
30112
+ "departmentName": {
30113
+ "type": "string",
30114
+ "title": "使用团队",
30115
+ "description": "使用团队"
30116
+ },
30117
+ "operatorId": {
30118
+ "type": "integer",
30119
+ "title": "操作人id",
30120
+ "description": "操作人id",
30121
+ "format": "int32"
30122
+ },
30123
+ "operator": {
30124
+ "type": "string",
30125
+ "title": "操作人",
30126
+ "description": "操作人"
30127
+ },
30128
+ "changeAccount": {
30129
+ "type": "string",
30130
+ "title": "影响账户",
30131
+ "description": "影响账户"
30132
+ },
30133
+ "overageAmount": {
30134
+ "type": "number",
30135
+ "title": "账户余额",
30136
+ "description": "账户余额"
30137
+ },
30138
+ "remark": {
30139
+ "type": "string",
30140
+ "title": "单据备注",
30141
+ "description": "单据备注"
30142
+ },
30143
+ "externalBizType": {
30144
+ "type": "string",
30145
+ "title": "账务类型",
30146
+ "description": "ExternalBizTypeEnum"
30147
+ },
30148
+ "externalBizTypeDesc": {
30149
+ "type": "string",
30150
+ "title": "账务类型描述",
30151
+ "description": "中台描述"
30152
+ },
30153
+ "flowDirection": {
30154
+ "type": "integer",
30155
+ "title": "流水收支方向",
30156
+ "description": "FlowDirectionEnum",
30157
+ "format": "int32"
30158
+ },
30159
+ "flowDirectionDesc": {
30160
+ "type": "string",
30161
+ "title": "流水收支方向描述",
30162
+ "description": "中台描述"
30163
+ }
30164
+ }
30165
+ }
30166
+ }
30167
+ },
30168
+ "title": "分页结果"
30169
+ },
30170
+ "pagination": {
30171
+ "pageField": "pageNum",
30172
+ "sizeField": "pageSize",
30173
+ "itemsField": "result",
30174
+ "totalField": "total"
30175
+ },
30176
+ "tenant": true,
30177
+ "roleScope": [
30178
+ "passport"
30179
+ ]
30180
+ },
30181
+ {
30182
+ "name": "wallet-change-accounts-type",
30183
+ "displayName": "钱包账务类型",
30184
+ "description": "钱包消费明细的账务类型筛选项。",
30185
+ "group": "预付钱包",
30186
+ "method": "GET",
30187
+ "path": "/sino-wallet-pu/platform/wallet/walletchange/list/accountstype",
30188
+ "timeout": 180000,
30189
+ "tag": "预付钱包",
30190
+ "domain": "wallet",
30191
+ "shortcut": "+change-accounts",
30192
+ "risk": "read",
30193
+ "summary": "钱包账务类型",
30194
+ "docFile": "wallet-prepaid.md",
30195
+ "responseSchema": {
30196
+ "type": "array",
30197
+ "title": "账务类型",
30198
+ "description": "账务类型",
30199
+ "items": {
30200
+ "type": "object",
30201
+ "properties": {
30202
+ "accountsType": {
30203
+ "type": "string",
30204
+ "title": "类型",
30205
+ "description": "类型"
30206
+ },
30207
+ "desc": {
30208
+ "type": "string",
30209
+ "title": "描述",
30210
+ "description": "描述"
30211
+ },
30212
+ "itemVoList": {
30213
+ "type": "array",
30214
+ "title": "子节点",
30215
+ "description": "账务类型子项",
30216
+ "items": {
30217
+ "type": "object",
30218
+ "properties": {
30219
+ "externalBizType": {
30220
+ "type": "string",
30221
+ "title": "账务类型",
30222
+ "description": "ExternalBizTypeEnum"
30223
+ },
30224
+ "externalBizTypeDesc": {
30225
+ "type": "string",
30226
+ "title": "账务类型描述",
30227
+ "description": "账务类型描述"
30228
+ },
30229
+ "flowDirectionList": {
30230
+ "type": "array",
30231
+ "title": "流水方向列表",
30232
+ "description": "给流水查询用",
30233
+ "items": {
30234
+ "type": "string",
30235
+ "title": "流水方向",
30236
+ "description": "流水方向 name"
30237
+ }
30238
+ }
30239
+ }
30240
+ }
30241
+ }
30242
+ }
30243
+ }
30244
+ },
30245
+ "tenant": true,
30246
+ "roleScope": [
30247
+ "passport"
30248
+ ]
30249
+ },
30250
+ {
30251
+ "name": "wallet-change-quota-type",
30252
+ "displayName": "钱包额度类型",
30253
+ "description": "额度类型:consume 消费 / return_quota 返额。",
30254
+ "group": "预付钱包",
30255
+ "method": "GET",
30256
+ "path": "/sino-wallet-pu/platform/wallet/walletchange/list/quotatype",
30257
+ "timeout": 180000,
30258
+ "tag": "预付钱包",
30259
+ "domain": "wallet",
30260
+ "shortcut": "+quota-type",
30261
+ "risk": "read",
30262
+ "summary": "钱包额度类型",
30263
+ "docFile": "wallet-prepaid.md",
30264
+ "responseSchema": {
30265
+ "type": "array",
30266
+ "title": "额度类型",
30267
+ "description": "额度类型",
30268
+ "items": {
30269
+ "type": "object",
30270
+ "properties": {
30271
+ "quotaType": {
30272
+ "type": "string",
30273
+ "title": "额度类型",
30274
+ "description": "额度类型",
30275
+ "enum": [
30276
+ "consume",
30277
+ "return_quota"
30278
+ ]
30279
+ },
30280
+ "desc": {
30281
+ "type": "string",
30282
+ "title": "描述",
30283
+ "description": "描述"
30284
+ }
30285
+ }
30286
+ }
30287
+ },
30288
+ "tenant": true,
30289
+ "roleScope": [
30290
+ "passport"
30291
+ ]
30292
+ },
30293
+ {
30294
+ "name": "wallet-change-list",
30295
+ "displayName": "钱包消费明细",
30296
+ "description": "分页查钱包额度流水。响应不含消费/返额汇总。",
30297
+ "group": "预付钱包",
30298
+ "method": "POST",
30299
+ "path": "/sino-wallet-pu/platform/wallet/walletchange/list",
30300
+ "timeout": 180000,
30301
+ "tag": "预付钱包",
30302
+ "domain": "wallet",
30303
+ "shortcut": "+change",
30304
+ "risk": "read",
30305
+ "summary": "钱包消费明细",
30306
+ "docFile": "wallet-prepaid.md",
30307
+ "requestSchema": {
30308
+ "type": "object",
30309
+ "properties": {
30310
+ "pageNum": {
30311
+ "type": "integer",
30312
+ "format": "int32",
30313
+ "title": "页码",
30314
+ "description": "页码,从 1 开始",
30315
+ "example": 1
30316
+ },
30317
+ "pageSize": {
30318
+ "type": "integer",
30319
+ "format": "int32",
30320
+ "title": "每页条数",
30321
+ "description": "每页条数",
30322
+ "example": 10
30323
+ },
30324
+ "changeTimeOrderBy": {
30325
+ "type": "string",
30326
+ "title": "变动时间排序",
30327
+ "description": "desc 倒序 / asc 正序",
30328
+ "enum": [
30329
+ "desc",
30330
+ "asc"
30331
+ ]
30332
+ },
30333
+ "startTime": {
30334
+ "type": "string",
30335
+ "title": "开始日期",
30336
+ "description": "开始日期"
30337
+ },
30338
+ "endTime": {
30339
+ "type": "string",
30340
+ "title": "结束日期",
30341
+ "description": "结束日期"
30342
+ },
30343
+ "quotaType": {
30344
+ "type": "string",
30345
+ "title": "额度类型",
30346
+ "description": "额度类型",
30347
+ "enum": [
30348
+ "consume",
30349
+ "return_quota"
30350
+ ]
30351
+ },
30352
+ "externalBizType": {
30353
+ "type": "string",
30354
+ "title": "账务类型",
30355
+ "description": "来自钱包账务类型接口"
30356
+ },
30357
+ "flowDirectionList": {
30358
+ "type": "array",
30359
+ "title": "流水收支方向",
30360
+ "description": "来自账务类型接口",
30361
+ "items": {
30362
+ "type": "string",
30363
+ "title": "流水方向",
30364
+ "description": "流水方向 name"
30365
+ }
30366
+ },
30367
+ "currencyList": {
30368
+ "type": "array",
30369
+ "title": "币种类型",
30370
+ "description": "币种类型",
30371
+ "items": {
30372
+ "type": "string",
30373
+ "title": "币种",
30374
+ "description": "币种"
30375
+ }
30376
+ },
30377
+ "flowNo": {
30378
+ "type": "string",
30379
+ "title": "流水单号",
30380
+ "description": "流水单号"
30381
+ },
30382
+ "min": {
30383
+ "type": "number",
30384
+ "title": "额度最小值",
30385
+ "description": "额度最小值"
30386
+ },
30387
+ "max": {
30388
+ "type": "number",
30389
+ "title": "额度最大值",
30390
+ "description": "额度最大值"
30391
+ },
30392
+ "operatorIds": {
30393
+ "type": "array",
30394
+ "title": "操作人",
30395
+ "description": "操作人",
30396
+ "items": {
30397
+ "type": "integer",
30398
+ "title": "操作人id",
30399
+ "description": "操作人id",
30400
+ "format": "int32"
30401
+ }
30402
+ },
30403
+ "departmentCodeList": {
30404
+ "type": "array",
30405
+ "title": "团队编码",
30406
+ "description": "含顶级团队时服务端会再加管理员团队 0",
30407
+ "items": {
30408
+ "type": "string",
30409
+ "title": "团队编码",
30410
+ "description": "团队编码"
30411
+ }
30412
+ },
30413
+ "collectFlag": {
30414
+ "type": "boolean",
30415
+ "title": "是否获取汇总信息",
30416
+ "description": "服务端默认 true;本契约丢弃汇总",
30417
+ "example": true
30418
+ }
30419
+ },
30420
+ "required": [
30421
+ "changeTimeOrderBy"
30422
+ ]
30423
+ },
30424
+ "responseSchema": {
30425
+ "type": "object",
30426
+ "properties": {
30427
+ "total": {
30428
+ "type": "integer",
30429
+ "title": "总数",
30430
+ "description": "总数",
30431
+ "format": "int64"
30432
+ },
30433
+ "result": {
30434
+ "type": "array",
30435
+ "title": "本页条目",
30436
+ "description": "本页条目",
30437
+ "items": {
30438
+ "type": "object",
30439
+ "properties": {
30440
+ "changeTime": {
30441
+ "type": "string",
30442
+ "title": "变动时间",
30443
+ "description": "变动时间"
30444
+ },
30445
+ "flowNo": {
30446
+ "type": "string",
30447
+ "title": "平台流水单号",
30448
+ "description": "平台流水单号"
30449
+ },
30450
+ "source": {
30451
+ "type": "string",
30452
+ "title": "交易来源",
30453
+ "description": "交易来源"
30454
+ },
30455
+ "accountsType": {
30456
+ "type": "string",
30457
+ "title": "账务类型",
30458
+ "description": "账务类型"
30459
+ },
30460
+ "currency": {
30461
+ "type": "string",
30462
+ "title": "币种",
30463
+ "description": "币种"
30464
+ },
30465
+ "currencyName": {
30466
+ "type": "string",
30467
+ "title": "币种描述",
30468
+ "description": "币种描述"
30469
+ },
30470
+ "accountType": {
30471
+ "type": "string",
30472
+ "title": "账户分类",
30473
+ "description": "CASH / REBATE / CREDIT"
30474
+ },
30475
+ "amount": {
30476
+ "type": "number",
30477
+ "title": "本次消费额度",
30478
+ "description": "本次消费额度"
30479
+ },
30480
+ "usedAmount": {
30481
+ "type": "number",
30482
+ "title": "已消费额度",
30483
+ "description": "已冻+已用"
30484
+ },
30485
+ "plusOrMinus": {
30486
+ "type": "string",
30487
+ "title": "金额正负",
30488
+ "description": "+ 或 -"
30489
+ },
30490
+ "departmentCode": {
30491
+ "type": "string",
30492
+ "title": "团队编码",
30493
+ "description": "团队编码"
30494
+ },
30495
+ "departmentName": {
30496
+ "type": "string",
30497
+ "title": "使用团队",
30498
+ "description": "使用团队"
30499
+ },
30500
+ "operatorId": {
30501
+ "type": "integer",
30502
+ "title": "操作人id",
30503
+ "description": "操作人id",
30504
+ "format": "int32"
30505
+ },
30506
+ "operator": {
30507
+ "type": "string",
30508
+ "title": "操作人",
30509
+ "description": "操作人"
30510
+ },
30511
+ "changeAccount": {
30512
+ "type": "string",
30513
+ "title": "影响账户",
30514
+ "description": "影响账户"
30515
+ },
30516
+ "overageAmount": {
30517
+ "type": "number",
30518
+ "title": "可用余额",
30519
+ "description": "可用余额"
30520
+ },
30521
+ "remark": {
30522
+ "type": "string",
30523
+ "title": "单据备注",
30524
+ "description": "单据备注"
30525
+ },
30526
+ "externalBizType": {
30527
+ "type": "string",
30528
+ "title": "账务类型",
30529
+ "description": "ExternalBizTypeEnum"
30530
+ },
30531
+ "externalBizTypeDesc": {
30532
+ "type": "string",
30533
+ "title": "账务类型描述",
30534
+ "description": "中台描述"
30535
+ },
30536
+ "flowDirection": {
30537
+ "type": "integer",
30538
+ "title": "流水收支方向",
30539
+ "description": "FlowDirectionEnum",
30540
+ "format": "int32"
30541
+ },
30542
+ "flowDirectionDesc": {
30543
+ "type": "string",
30544
+ "title": "流水收支方向描述",
30545
+ "description": "中台描述"
30546
+ }
30547
+ }
30548
+ }
30549
+ }
30550
+ },
30551
+ "title": "分页结果"
30552
+ },
30553
+ "pagination": {
30554
+ "pageField": "pageNum",
30555
+ "sizeField": "pageSize",
30556
+ "itemsField": "result",
30557
+ "totalField": "total"
30558
+ },
30559
+ "tenant": true,
30560
+ "roleScope": [
30561
+ "passport"
30562
+ ]
30563
+ },
30564
+ {
30565
+ "name": "wallet-recharge-list",
30566
+ "displayName": "充值明细",
30567
+ "description": "按入账时间查充值记录。响应只保留列表,不含充值汇总。",
30568
+ "group": "预付钱包",
30569
+ "method": "POST",
30570
+ "path": "/sino-wallet-pu/platform/wallet/recharge/list",
30571
+ "timeout": 180000,
30572
+ "tag": "预付钱包",
30573
+ "domain": "wallet",
30574
+ "shortcut": "+recharge",
30575
+ "risk": "read",
30576
+ "summary": "充值明细",
30577
+ "docFile": "wallet-prepaid.md",
30578
+ "requestSchema": {
30579
+ "type": "object",
30580
+ "properties": {
30581
+ "pageNum": {
30582
+ "type": "integer",
30583
+ "format": "int32",
30584
+ "title": "页码",
30585
+ "description": "页码,从 1 开始",
30586
+ "example": 1
30587
+ },
30588
+ "pageSize": {
30589
+ "type": "integer",
30590
+ "format": "int32",
30591
+ "title": "每页条数",
30592
+ "description": "每页条数",
30593
+ "example": 10
30594
+ },
30595
+ "incomeTimeOrderBy": {
30596
+ "type": "string",
30597
+ "title": "入账时间排序",
30598
+ "description": "desc 倒序 / asc 正序",
30599
+ "enum": [
30600
+ "desc",
30601
+ "asc"
30602
+ ]
30603
+ },
30604
+ "startIncomeTime": {
30605
+ "type": "string",
30606
+ "title": "入账开始日",
30607
+ "description": "yyyy-MM-dd"
30608
+ },
30609
+ "endIncomeTime": {
30610
+ "type": "string",
30611
+ "title": "入账结束日",
30612
+ "description": "yyyy-MM-dd"
30613
+ },
30614
+ "currency": {
30615
+ "type": "string",
30616
+ "title": "币种",
30617
+ "description": "单币种"
30618
+ },
30619
+ "min": {
30620
+ "type": "number",
30621
+ "title": "充值金额最小值",
30622
+ "description": "充值金额最小值"
30623
+ },
30624
+ "max": {
30625
+ "type": "number",
30626
+ "title": "充值金额最大值",
30627
+ "description": "充值金额最大值"
30628
+ }
30629
+ },
30630
+ "required": [
30631
+ "incomeTimeOrderBy"
30632
+ ]
30633
+ },
30634
+ "responseSchema": {
30635
+ "type": "object",
30636
+ "properties": {
30637
+ "rechargeItemVoPage": {
30638
+ "type": "object",
30639
+ "properties": {
30640
+ "total": {
30641
+ "type": "integer",
30642
+ "title": "总数",
30643
+ "description": "总数",
30644
+ "format": "int64"
30645
+ },
30646
+ "result": {
30647
+ "type": "array",
30648
+ "title": "本页条目",
30649
+ "description": "本页条目",
30650
+ "items": {
30651
+ "type": "object",
30652
+ "properties": {
30653
+ "incomeTime": {
30654
+ "type": "string",
30655
+ "title": "入账时间",
30656
+ "description": "入账时间"
30657
+ },
30658
+ "paymentBankStatementId": {
30659
+ "type": "string",
30660
+ "title": "银行流水单号",
30661
+ "description": "银行流水单号"
30662
+ },
30663
+ "paymentTime": {
30664
+ "type": "string",
30665
+ "title": "打款时间",
30666
+ "description": "打款时间"
30667
+ },
30668
+ "paymentBankAccount": {
30669
+ "type": "string",
30670
+ "title": "打款银行账户",
30671
+ "description": "打款银行账户"
30672
+ },
30673
+ "incomeName": {
30674
+ "type": "string",
30675
+ "title": "收款方名称",
30676
+ "description": "收款方名称"
30677
+ },
30678
+ "incomeBankName": {
30679
+ "type": "string",
30680
+ "title": "收款方银行名称",
30681
+ "description": "收款方银行名称"
30682
+ },
30683
+ "paymentName": {
30684
+ "type": "string",
30685
+ "title": "打款方名称",
30686
+ "description": "打款方名称"
30687
+ },
30688
+ "incomeBankAccount": {
30689
+ "type": "string",
30690
+ "title": "平台收款方银行账户",
30691
+ "description": "平台收款方银行账户"
30692
+ },
30693
+ "paymentType": {
30694
+ "type": "string",
30695
+ "title": "充值方式",
30696
+ "description": "默认返回银行转账"
30697
+ },
30698
+ "paymentAmount": {
30699
+ "type": "string",
30700
+ "title": "充值金额",
30701
+ "description": "充值金额"
30702
+ },
30703
+ "currency": {
30704
+ "type": "string",
30705
+ "title": "充值币种",
30706
+ "description": "充值币种"
30707
+ },
30708
+ "currencyName": {
30709
+ "type": "string",
30710
+ "title": "充值币种描述",
30711
+ "description": "充值币种描述"
30712
+ },
30713
+ "paymentRemark": {
30714
+ "type": "string",
30715
+ "title": "转账附言",
30716
+ "description": "操作附言|转账附言"
30717
+ },
30718
+ "rechargeStatementId": {
30719
+ "type": "string",
30720
+ "title": "平台充值入账单号",
30721
+ "description": "平台充值入账单号"
30722
+ },
30723
+ "feeAmount": {
30724
+ "type": "number",
30725
+ "title": "支付商手续费金额",
30726
+ "description": "支付商手续费金额"
30727
+ },
30728
+ "feeCurrency": {
30729
+ "type": "string",
30730
+ "title": "支付商手续费币种",
30731
+ "description": "支付商手续费币种"
30732
+ }
30733
+ }
30734
+ }
30735
+ }
30736
+ },
30737
+ "title": "充值分页"
30738
+ }
30739
+ }
30740
+ },
30741
+ "tenant": true,
30742
+ "roleScope": [
30743
+ "passport"
30744
+ ]
30745
+ },
30746
+ {
30747
+ "name": "wallet-currency-amount",
30748
+ "displayName": "币种可用额度",
30749
+ "description": "按币种查各账户可用额度。",
30750
+ "group": "预付钱包",
30751
+ "method": "GET",
30752
+ "path": "/sino-wallet-pu/platform/wallet/currency/list/amount",
30753
+ "timeout": 180000,
30754
+ "tag": "预付钱包",
30755
+ "domain": "wallet",
30756
+ "shortcut": "+currency-amount",
30757
+ "risk": "read",
30758
+ "summary": "币种可用额度",
30759
+ "docFile": "wallet-prepaid.md",
30760
+ "requestSchema": {
30761
+ "type": "object",
30762
+ "properties": {
30763
+ "currency": {
30764
+ "type": "string",
30765
+ "description": "币种,如 USD"
30766
+ }
30767
+ },
30768
+ "required": [
30769
+ "currency"
30770
+ ]
30771
+ },
30772
+ "queryParameters": [
30773
+ {
30774
+ "name": "currency",
30775
+ "required": true,
30776
+ "schema": {
30777
+ "type": "string",
30778
+ "description": "币种,如 USD"
30779
+ },
30780
+ "explode": true
30781
+ }
30782
+ ],
30783
+ "responseSchema": {
30784
+ "type": "array",
30785
+ "title": "币种可用额度",
30786
+ "description": "该币种下各账户可用额度",
30787
+ "items": {
30788
+ "type": "object",
30789
+ "properties": {
30790
+ "accountNo": {
30791
+ "type": "string",
30792
+ "title": "账户编号",
30793
+ "description": "账户编号"
30794
+ },
30795
+ "currency": {
30796
+ "type": "string",
30797
+ "title": "币种",
30798
+ "description": "USD / CNY / HKD / EUR / GBP / JPY"
30799
+ },
30800
+ "currencyName": {
30801
+ "type": "string",
30802
+ "title": "币种描述",
30803
+ "description": "币种描述"
30804
+ },
30805
+ "amount": {
30806
+ "type": "number",
30807
+ "title": "金额",
30808
+ "description": "金额"
30809
+ },
30810
+ "accountType": {
30811
+ "type": "string",
30812
+ "title": "账户分类",
30813
+ "description": "CASH / REBATE / CREDIT"
30814
+ },
30815
+ "usdExchangeRate": {
30816
+ "type": "number",
30817
+ "title": "对美金汇率",
30818
+ "description": "对美金汇率"
30819
+ },
30820
+ "usdAmount": {
30821
+ "type": "number",
30822
+ "title": "兑换美金金额",
30823
+ "description": "兑换美金金额"
30824
+ },
30825
+ "currencySortWeight": {
30826
+ "type": "number",
30827
+ "title": "币种排序",
30828
+ "description": "币种排序"
30829
+ },
30830
+ "accountTypeSortWeight": {
30831
+ "type": "number",
30832
+ "title": "币种户排序",
30833
+ "description": "币种户排序"
30834
+ }
30835
+ }
30836
+ }
30837
+ },
30838
+ "tenant": true,
30839
+ "roleScope": [
30840
+ "passport"
30841
+ ]
30842
+ },
30843
+ {
30844
+ "name": "wallet-exchange-rate",
30845
+ "displayName": "币种汇率",
30846
+ "description": "查 sourceCurrency 到 targetCurrency 的汇率。",
30847
+ "group": "预付钱包",
30848
+ "method": "GET",
30849
+ "path": "/sino-wallet-pu/platform/wallet/currency/exchange/rate",
30850
+ "timeout": 180000,
30851
+ "tag": "预付钱包",
30852
+ "domain": "wallet",
30853
+ "shortcut": "+exchange-rate",
30854
+ "risk": "read",
30855
+ "summary": "币种汇率",
30856
+ "docFile": "wallet-prepaid.md",
30857
+ "requestSchema": {
30858
+ "type": "object",
30859
+ "properties": {
30860
+ "sourceCurrency": {
30861
+ "type": "string",
30862
+ "description": "原始币种"
30863
+ },
30864
+ "targetCurrency": {
30865
+ "type": "string",
30866
+ "description": "目标币种"
30867
+ }
30868
+ },
30869
+ "required": [
30870
+ "sourceCurrency",
30871
+ "targetCurrency"
30872
+ ]
30873
+ },
30874
+ "queryParameters": [
30875
+ {
30876
+ "name": "sourceCurrency",
30877
+ "required": true,
30878
+ "schema": {
30879
+ "type": "string",
30880
+ "description": "原始币种"
30881
+ },
30882
+ "explode": true
30883
+ },
30884
+ {
30885
+ "name": "targetCurrency",
30886
+ "required": true,
30887
+ "schema": {
30888
+ "type": "string",
30889
+ "description": "目标币种"
30890
+ },
30891
+ "explode": true
30892
+ }
30893
+ ],
30894
+ "responseSchema": {
30895
+ "type": "number",
30896
+ "title": "汇率",
30897
+ "description": "汇率"
30898
+ },
30899
+ "tenant": true,
30900
+ "roleScope": [
30901
+ "passport"
30902
+ ]
30903
+ },
30904
+ {
30905
+ "name": "common-file-upload",
30906
+ "displayName": "上传文件",
30907
+ "description": "上传单个私有文件,使用multipart/form-data,file为必填文件part。serviceName可选,未传或为空字符串时默认bc-business-pu,支持的服务名见参数枚举。\n\n上传文件不能为空,默认最大50MB(52428800字节,含边界),由Apollo配置file.upload.max-size控制。存储目录为服务名/yyyy-MM,文件名使用UUID并保留扩展名。上传返回的私有链接有效期默认3600秒,由file.download.url-expire-seconds控制。\n\n成功返回UploadFileResult,请保存result.storageKey供后续获取下载链接或关联业务记录使用。重复上传会生成新的存储文件。服务名非法、文件为空、文件超限、文件名为空或配置非正数时返回业务错误。本接口不要求业务签约主体参数。",
30908
+ "group": "通用文件管理",
30909
+ "method": "POST",
30910
+ "path": "/bc-business-pu/file/fileUpload",
30911
+ "timeout": 180000,
30912
+ "tag": "通用文件管理",
30913
+ "domain": "common-file",
30914
+ "shortcut": "+upload",
30915
+ "risk": "write",
30916
+ "summary": "上传文件",
30917
+ "docFile": "common-file.md",
30918
+ "requestSchema": {
30919
+ "type": "object",
30920
+ "properties": {
30921
+ "file": {
30922
+ "description": "待上传文件,非空,默认最大50MB,以Apollo配置为准。",
30923
+ "type": "string",
30924
+ "format": "binary"
30925
+ },
30926
+ "serviceName": {
30927
+ "type": "string",
30928
+ "enum": [
30929
+ "sino-icenter",
30930
+ "sino-bc-nexus",
30931
+ "sino-opti-hive",
30932
+ "bc-business-pu",
30933
+ "sino-data-analysis",
30934
+ "sino-msg-notice-center",
30935
+ "sino-wallet-pu-service",
30936
+ "sino-ka"
30937
+ ],
30938
+ "default": "bc-business-pu",
30939
+ "description": "来源服务;未传或为空字符串时默认bc-business-pu,用于存储目录隔离。",
30940
+ "example": "bc-business-pu"
30941
+ }
30942
+ },
30943
+ "required": [
30944
+ "file"
30945
+ ]
30946
+ },
30947
+ "requestContentType": "multipart/form-data",
30948
+ "responseSchema": {
30949
+ "type": "object",
30950
+ "title": "文件上传结果",
30951
+ "description": "UploadFileResult,额外链接字段由存储客户端配置决定。",
30952
+ "properties": {
30953
+ "storageKey": {
30954
+ "type": "string",
30955
+ "title": "文件存储Key",
30956
+ "description": "云存储返回的文件标识,请原样保存;获取下载链接时传此值,不要传下载URL。"
30957
+ },
30958
+ "url": {
30959
+ "type": "string",
30960
+ "title": "文件访问链接",
30961
+ "description": "临时私有访问链接,默认有效期3600秒,以Apollo配置为准。"
30962
+ },
30963
+ "cdnUrl": {
30964
+ "type": "string",
30965
+ "title": "CDN链接",
30966
+ "description": "由云存储客户端返回,是否有值取决于存储配置。"
30967
+ },
30968
+ "internalUrl": {
30969
+ "type": "string",
30970
+ "title": "内网链接",
30971
+ "description": "由云存储客户端返回,是否有值取决于存储配置。"
30972
+ },
30973
+ "accelerateUrl": {
30974
+ "type": "string",
30975
+ "title": "加速链接",
30976
+ "description": "由云存储客户端返回,是否有值取决于存储配置。"
30977
+ },
30978
+ "documentPreviewUrl": {
30979
+ "type": "string",
30980
+ "title": "文档预览链接",
30981
+ "description": "由云存储客户端返回,是否有值取决于存储配置及文件类型。"
30982
+ },
30983
+ "fileName": {
30984
+ "type": "string",
30985
+ "title": "存储文件名",
30986
+ "description": "使用UUID生成的文件名,保留原文件最后一个扩展名;无扩展名文件也支持上传。"
30987
+ }
30988
+ }
30989
+ },
30990
+ "tenant": false,
30991
+ "roleScope": [
30992
+ "sso",
30993
+ "system"
30994
+ ]
30995
+ },
30996
+ {
30997
+ "name": "common-file-download-url",
30998
+ "displayName": "获取文件下载链接",
30999
+ "description": "使用文件上传成功后返回的storageKey获取私有文件下载链接。storageKey必填且不能是空白字符串,请原样传入,不要传已有下载URL。\n\n成功时result直接返回URL字符串,不执行302重定向。有效期默认3600秒,由Apollo配置file.download.url-expire-seconds控制,与上传返回链接使用同一配置。链接失效后可重新调用本接口生成。生成失败、返回空链接或有效期配置非正数时返回业务错误。本接口不要求业务签约主体参数。",
31000
+ "group": "通用文件管理",
31001
+ "method": "GET",
31002
+ "path": "/bc-business-pu/file/getUrlByKey",
31003
+ "timeout": 180000,
31004
+ "tag": "通用文件管理",
31005
+ "domain": "common-file",
31006
+ "shortcut": "+url",
31007
+ "risk": "read",
31008
+ "summary": "获取文件下载链接",
31009
+ "docFile": "common-file.md",
31010
+ "requestSchema": {
31011
+ "type": "object",
31012
+ "properties": {
31013
+ "storageKey": {
31014
+ "type": "string",
31015
+ "description": "上传接口result.storageKey返回的文件标识,非空白字符串。"
31016
+ }
31017
+ },
31018
+ "required": [
31019
+ "storageKey"
31020
+ ]
31021
+ },
31022
+ "queryParameters": [
31023
+ {
31024
+ "name": "storageKey",
31025
+ "required": true,
31026
+ "schema": {
31027
+ "type": "string",
31028
+ "description": "上传接口result.storageKey返回的文件标识,非空白字符串。"
31029
+ },
31030
+ "explode": true
31031
+ }
31032
+ ],
31033
+ "responseSchema": {
31034
+ "type": "string",
31035
+ "title": "下载链接",
31036
+ "description": "临时私有下载URL,默认有效期3600秒,以Apollo配置为准。",
31037
+ "example": "https://example.com/private-file?signature=example"
31038
+ },
31039
+ "tenant": false,
31040
+ "roleScope": [
31041
+ "sso",
31042
+ "system"
31043
+ ]
26952
31044
  }
26953
31045
  ]