sino-bc-cli 1.8.25 → 1.8.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/SKILL.md +10 -10
- package/dist/affordance/biz-line.md +0 -12
- package/dist/affordance/project-analysis.md +18 -0
- package/dist/affordance/user.md +8 -2
- package/dist/affordance/wallet.md +0 -8
- package/dist/api-doc/oapi/biz-line-strategy.md +12 -44
- package/dist/api-doc/oapi/project-analysis.md +86 -0
- package/dist/api-doc/oapi/user.md +19 -2
- package/dist/api-doc/oapi/wallet-invoice.md +2 -22
- package/dist/generated/api-catalog.json +827 -176
- package/dist/index.js +1 -1
- package/dist/skills/custom/biz-line-strategy-generate/SKILL.md +36 -17
- package/dist/skills/custom/biz-line-strategy-generate/references/api-flow.md +44 -22
- package/dist/skills/custom/biz-line-strategy-generate/references/four-strategies.md +18 -74
- package/dist/skills/custom/biz-line-strategy-generate/references/metrics.md +20 -32
- package/dist/skills/custom/biz-line-strategy-generate/references/output-excel.md +12 -7
- package/dist/skills/custom/biz-line-strategy-generate/references/runtime.md +41 -4
- package/dist/skills/custom/biz-line-strategy-generate/references/spec.md +176 -6
- package/dist/skills/custom/biz-line-strategy-generate/scripts/build_report.py +17 -6
- package/dist/skills/custom/biz-line-strategy-generate/scripts/cli_json.py +36 -17
- package/dist/skills/custom/biz-line-strategy-generate/scripts/fetch_data.py +44 -17
- package/dist/skills/custom/biz-line-strategy-generate/scripts/run_workflow.py +134 -37
- package/dist/skills/custom/biz-line-strategy-generate/scripts/strategy_output.py +277 -0
- package/dist/skills/custom/biz-line-strategy-generate/scripts/summarize.py +84 -146
- package/dist/skills/custom/biz-line-strategy-generate/scripts/test_database_output.py +401 -0
- package/dist/skills/custom/biz-line-strategy-generate/scripts/test_strategy_rules.py +18 -8
- package/dist/skills/custom/biz-line-strategy-generate/scripts/test_workflow.py +138 -8
- package/dist/skills/default/sino-bc-shared/SKILL.md +1 -1
- package/dist/skills/default/sino-bc-shared/references/output-contract.md +2 -2
- package/dist/skills/oapi/sino-bc-biz-line/SKILL.md +1 -3
- package/dist/skills/oapi/sino-bc-project-analysis/SKILL.md +13 -1
- package/dist/skills/oapi/sino-bc-project-analysis/references/analysis-workflow.md +4 -0
- package/dist/skills/oapi/sino-bc-project-analysis/references/filters-and-metrics.md +2 -2
- package/dist/skills/oapi/sino-bc-user/SKILL.md +6 -4
- package/dist/skills/oapi/sino-bc-wallet/SKILL.md +1 -2
- 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,45 +2397,6 @@
|
|
|
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
2402
|
"displayName": "查询业务线字典和策略标签",
|
|
@@ -5567,71 +5490,749 @@
|
|
|
5567
5490
|
},
|
|
5568
5491
|
"description": "行业list(APP、GAME、ECBR)"
|
|
5569
5492
|
},
|
|
5570
|
-
"projectIdList": {
|
|
5571
|
-
"type": "array",
|
|
5572
|
-
"items": {
|
|
5573
|
-
"type": "integer",
|
|
5574
|
-
"format": "int64"
|
|
5575
|
-
},
|
|
5576
|
-
"description": "项目id列表"
|
|
5493
|
+
"projectIdList": {
|
|
5494
|
+
"type": "array",
|
|
5495
|
+
"items": {
|
|
5496
|
+
"type": "integer",
|
|
5497
|
+
"format": "int64"
|
|
5498
|
+
},
|
|
5499
|
+
"description": "项目id列表"
|
|
5500
|
+
},
|
|
5501
|
+
"ssoTeamCodeList": {
|
|
5502
|
+
"type": "array",
|
|
5503
|
+
"items": {
|
|
5504
|
+
"type": "string"
|
|
5505
|
+
},
|
|
5506
|
+
"description": "组别code列表"
|
|
5507
|
+
},
|
|
5508
|
+
"corporationIdList": {
|
|
5509
|
+
"type": "array",
|
|
5510
|
+
"items": {
|
|
5511
|
+
"type": "integer",
|
|
5512
|
+
"format": "int32"
|
|
5513
|
+
},
|
|
5514
|
+
"description": "签约主体筛选 ID 列表;不等同于网关 x-corporation-id 上下文"
|
|
5515
|
+
}
|
|
5516
|
+
},
|
|
5517
|
+
"required": [
|
|
5518
|
+
"startMonth",
|
|
5519
|
+
"endMonth"
|
|
5520
|
+
]
|
|
5521
|
+
},
|
|
5522
|
+
"responseSchema": {
|
|
5523
|
+
"type": "object",
|
|
5524
|
+
"properties": {
|
|
5525
|
+
"spend": {
|
|
5526
|
+
"type": "integer",
|
|
5527
|
+
"format": "int32",
|
|
5528
|
+
"description": "消耗(四舍五入取整数)"
|
|
5529
|
+
},
|
|
5530
|
+
"serviceFee": {
|
|
5531
|
+
"type": "integer",
|
|
5532
|
+
"format": "int32",
|
|
5533
|
+
"description": "服务费(四舍五入取整数)"
|
|
5534
|
+
},
|
|
5535
|
+
"memberCount": {
|
|
5536
|
+
"type": "integer",
|
|
5537
|
+
"format": "int32",
|
|
5538
|
+
"description": "参与优化师数量"
|
|
5539
|
+
},
|
|
5540
|
+
"fullTimeEquivalent": {
|
|
5541
|
+
"type": "number",
|
|
5542
|
+
"description": "实际折算人力(四舍五入一位小数)"
|
|
5543
|
+
},
|
|
5544
|
+
"spendPerHour": {
|
|
5545
|
+
"type": "number",
|
|
5546
|
+
"description": "单位工时消耗(四舍五入取整数)"
|
|
5547
|
+
},
|
|
5548
|
+
"spendPerHourOfIndustry": {
|
|
5549
|
+
"type": "number",
|
|
5550
|
+
"description": "行业单位工时消耗均值(四舍五入取整数)"
|
|
5551
|
+
},
|
|
5552
|
+
"timesheet": {
|
|
5553
|
+
"type": "number",
|
|
5554
|
+
"description": "工时"
|
|
5555
|
+
}
|
|
5556
|
+
}
|
|
5557
|
+
},
|
|
5558
|
+
"tenant": false,
|
|
5559
|
+
"roleScope": [
|
|
5560
|
+
"sso"
|
|
5561
|
+
]
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
"name": "atw-project-page",
|
|
5565
|
+
"displayName": "查询工时系统项目列表(分页)",
|
|
5566
|
+
"description": "分页查询工时系统项目列表,对应 t_atw_project 单表数据。",
|
|
5567
|
+
"group": "项目分析",
|
|
5568
|
+
"method": "POST",
|
|
5569
|
+
"path": "/sino-opti-hive/atw/query/pageProjects",
|
|
5570
|
+
"timeout": 180000,
|
|
5571
|
+
"tag": "项目分析",
|
|
5572
|
+
"domain": "project-analysis",
|
|
5573
|
+
"shortcut": "+atw-projects",
|
|
5574
|
+
"risk": "read",
|
|
5575
|
+
"summary": "查询工时系统项目列表(分页)",
|
|
5576
|
+
"docFile": "project-analysis.md",
|
|
5577
|
+
"requestSchema": {
|
|
5578
|
+
"type": "object",
|
|
5579
|
+
"properties": {
|
|
5580
|
+
"pageNum": {
|
|
5581
|
+
"type": "integer",
|
|
5582
|
+
"format": "int32",
|
|
5583
|
+
"title": "页码",
|
|
5584
|
+
"description": "页码,从1开始;省略默认1,显式null或小于1时报错",
|
|
5585
|
+
"minimum": 1,
|
|
5586
|
+
"default": 1
|
|
5587
|
+
},
|
|
5588
|
+
"pageSize": {
|
|
5589
|
+
"type": "integer",
|
|
5590
|
+
"format": "int32",
|
|
5591
|
+
"title": "每页条数",
|
|
5592
|
+
"description": "每页条数,省略默认10,显式null或小于1时报错",
|
|
5593
|
+
"minimum": 1,
|
|
5594
|
+
"default": 10
|
|
5595
|
+
},
|
|
5596
|
+
"atwProjectIdList": {
|
|
5597
|
+
"type": "array",
|
|
5598
|
+
"items": {
|
|
5599
|
+
"type": "integer",
|
|
5600
|
+
"format": "int64"
|
|
5601
|
+
},
|
|
5602
|
+
"title": "工时系统项目ID列表",
|
|
5603
|
+
"description": "工时系统项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5604
|
+
},
|
|
5605
|
+
"atwCreateTimeStart": {
|
|
5606
|
+
"type": "string",
|
|
5607
|
+
"title": "工时系统项目创建时间区间开始(含)",
|
|
5608
|
+
"description": "工时系统项目创建时间区间开始(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
5609
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
5610
|
+
"example": "2026-09-22 10:00:00"
|
|
5611
|
+
},
|
|
5612
|
+
"atwCreateTimeEnd": {
|
|
5613
|
+
"type": "string",
|
|
5614
|
+
"title": "工时系统项目创建时间区间结束(含)",
|
|
5615
|
+
"description": "工时系统项目创建时间区间结束(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
5616
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
5617
|
+
"example": "2026-09-22 10:00:00"
|
|
5618
|
+
},
|
|
5619
|
+
"projectIdList": {
|
|
5620
|
+
"type": "array",
|
|
5621
|
+
"items": {
|
|
5622
|
+
"type": "integer",
|
|
5623
|
+
"format": "int64"
|
|
5624
|
+
},
|
|
5625
|
+
"title": "项目ID列表",
|
|
5626
|
+
"description": "项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5627
|
+
},
|
|
5628
|
+
"name": {
|
|
5629
|
+
"type": "string",
|
|
5630
|
+
"title": "工时系统项目名称",
|
|
5631
|
+
"description": "工时系统项目名称;包含匹配,空白不筛选"
|
|
5632
|
+
},
|
|
5633
|
+
"kindCode": {
|
|
5634
|
+
"type": "string",
|
|
5635
|
+
"title": "服务产品编码",
|
|
5636
|
+
"description": "服务产品编码,来自工时系统字典;已知示例:1=广告优化运营(代投)、85=广告诊断顾问、-888=售前咨询,非固定枚举;精确匹配,不传不筛选"
|
|
5637
|
+
}
|
|
5638
|
+
}
|
|
5639
|
+
},
|
|
5640
|
+
"responseSchema": {
|
|
5641
|
+
"type": "object",
|
|
5642
|
+
"properties": {
|
|
5643
|
+
"total": {
|
|
5644
|
+
"type": "integer",
|
|
5645
|
+
"format": "int64",
|
|
5646
|
+
"description": "符合筛选条件的总条数;越界空页仍返回真实总数"
|
|
5647
|
+
},
|
|
5648
|
+
"result": {
|
|
5649
|
+
"type": "array",
|
|
5650
|
+
"description": "当前页数据",
|
|
5651
|
+
"items": {
|
|
5652
|
+
"type": "object",
|
|
5653
|
+
"properties": {
|
|
5654
|
+
"atwProjectId": {
|
|
5655
|
+
"type": "integer",
|
|
5656
|
+
"format": "int64",
|
|
5657
|
+
"title": "工时系统项目ID",
|
|
5658
|
+
"description": "工时系统项目ID"
|
|
5659
|
+
},
|
|
5660
|
+
"atwCreateTime": {
|
|
5661
|
+
"type": "string",
|
|
5662
|
+
"title": "工时系统项目创建时间",
|
|
5663
|
+
"description": "工时系统项目创建时间,格式 yyyy-MM-dd HH:mm:ss",
|
|
5664
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
5665
|
+
"example": "2026-09-22 10:00:00"
|
|
5666
|
+
},
|
|
5667
|
+
"projectId": {
|
|
5668
|
+
"type": "integer",
|
|
5669
|
+
"format": "int64",
|
|
5670
|
+
"title": "项目ID",
|
|
5671
|
+
"description": "项目ID"
|
|
5672
|
+
},
|
|
5673
|
+
"name": {
|
|
5674
|
+
"type": "string",
|
|
5675
|
+
"title": "工时系统项目名称",
|
|
5676
|
+
"description": "工时系统项目名称"
|
|
5677
|
+
},
|
|
5678
|
+
"kindCode": {
|
|
5679
|
+
"type": "string",
|
|
5680
|
+
"title": "服务产品编码",
|
|
5681
|
+
"description": "服务产品编码,来自工时系统字典;已知示例:1=广告优化运营(代投)、85=广告诊断顾问、-888=售前咨询,非固定枚举"
|
|
5682
|
+
},
|
|
5683
|
+
"kindName": {
|
|
5684
|
+
"type": "string",
|
|
5685
|
+
"title": "服务产品名称",
|
|
5686
|
+
"description": "服务产品名称,来自工时系统字典"
|
|
5687
|
+
}
|
|
5688
|
+
}
|
|
5689
|
+
}
|
|
5690
|
+
},
|
|
5691
|
+
"page": {
|
|
5692
|
+
"type": "integer",
|
|
5693
|
+
"format": "int32",
|
|
5694
|
+
"description": "当前页码"
|
|
5695
|
+
},
|
|
5696
|
+
"size": {
|
|
5697
|
+
"type": "integer",
|
|
5698
|
+
"format": "int32",
|
|
5699
|
+
"description": "请求的每页条数"
|
|
5700
|
+
}
|
|
5701
|
+
}
|
|
5702
|
+
},
|
|
5703
|
+
"pagination": {
|
|
5704
|
+
"pageField": "pageNum",
|
|
5705
|
+
"sizeField": "pageSize",
|
|
5706
|
+
"itemsField": "result",
|
|
5707
|
+
"totalField": "total"
|
|
5708
|
+
},
|
|
5709
|
+
"tenant": false,
|
|
5710
|
+
"roleScope": [
|
|
5711
|
+
"sso"
|
|
5712
|
+
]
|
|
5713
|
+
},
|
|
5714
|
+
{
|
|
5715
|
+
"name": "atw-task-page",
|
|
5716
|
+
"displayName": "查询工时系统项目任务列表(分页)",
|
|
5717
|
+
"description": "分页查询工时系统项目任务列表,对应 t_atw_task 单表数据。",
|
|
5718
|
+
"group": "项目分析",
|
|
5719
|
+
"method": "POST",
|
|
5720
|
+
"path": "/sino-opti-hive/atw/query/pageTasks",
|
|
5721
|
+
"timeout": 180000,
|
|
5722
|
+
"tag": "项目分析",
|
|
5723
|
+
"domain": "project-analysis",
|
|
5724
|
+
"shortcut": "+atw-tasks",
|
|
5725
|
+
"risk": "read",
|
|
5726
|
+
"summary": "查询工时系统项目任务列表(分页)",
|
|
5727
|
+
"docFile": "project-analysis.md",
|
|
5728
|
+
"requestSchema": {
|
|
5729
|
+
"type": "object",
|
|
5730
|
+
"properties": {
|
|
5731
|
+
"pageNum": {
|
|
5732
|
+
"type": "integer",
|
|
5733
|
+
"format": "int32",
|
|
5734
|
+
"title": "页码",
|
|
5735
|
+
"description": "页码,从1开始;省略默认1,显式null或小于1时报错",
|
|
5736
|
+
"minimum": 1,
|
|
5737
|
+
"default": 1
|
|
5738
|
+
},
|
|
5739
|
+
"pageSize": {
|
|
5740
|
+
"type": "integer",
|
|
5741
|
+
"format": "int32",
|
|
5742
|
+
"title": "每页条数",
|
|
5743
|
+
"description": "每页条数,省略默认10,显式null或小于1时报错",
|
|
5744
|
+
"minimum": 1,
|
|
5745
|
+
"default": 10
|
|
5746
|
+
},
|
|
5747
|
+
"atwTaskIdList": {
|
|
5748
|
+
"type": "array",
|
|
5749
|
+
"items": {
|
|
5750
|
+
"type": "integer",
|
|
5751
|
+
"format": "int64"
|
|
5752
|
+
},
|
|
5753
|
+
"title": "工时系统任务ID列表",
|
|
5754
|
+
"description": "工时系统任务ID列表,IN 查询;不传或空列表不筛选"
|
|
5755
|
+
},
|
|
5756
|
+
"atwProjectIdList": {
|
|
5757
|
+
"type": "array",
|
|
5758
|
+
"items": {
|
|
5759
|
+
"type": "integer",
|
|
5760
|
+
"format": "int64"
|
|
5761
|
+
},
|
|
5762
|
+
"title": "工时系统项目ID列表",
|
|
5763
|
+
"description": "工时系统项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5764
|
+
},
|
|
5765
|
+
"projectIdList": {
|
|
5766
|
+
"type": "array",
|
|
5767
|
+
"items": {
|
|
5768
|
+
"type": "integer",
|
|
5769
|
+
"format": "int64"
|
|
5770
|
+
},
|
|
5771
|
+
"title": "项目ID列表",
|
|
5772
|
+
"description": "项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5773
|
+
},
|
|
5774
|
+
"name": {
|
|
5775
|
+
"type": "string",
|
|
5776
|
+
"title": "工时系统任务名称",
|
|
5777
|
+
"description": "工时系统任务名称;包含匹配,空白不筛选"
|
|
5778
|
+
}
|
|
5779
|
+
}
|
|
5780
|
+
},
|
|
5781
|
+
"responseSchema": {
|
|
5782
|
+
"type": "object",
|
|
5783
|
+
"properties": {
|
|
5784
|
+
"total": {
|
|
5785
|
+
"type": "integer",
|
|
5786
|
+
"format": "int64",
|
|
5787
|
+
"description": "符合筛选条件的总条数;越界空页仍返回真实总数"
|
|
5788
|
+
},
|
|
5789
|
+
"result": {
|
|
5790
|
+
"type": "array",
|
|
5791
|
+
"description": "当前页数据",
|
|
5792
|
+
"items": {
|
|
5793
|
+
"type": "object",
|
|
5794
|
+
"properties": {
|
|
5795
|
+
"atwTaskId": {
|
|
5796
|
+
"type": "integer",
|
|
5797
|
+
"format": "int64",
|
|
5798
|
+
"title": "工时系统任务ID",
|
|
5799
|
+
"description": "工时系统任务ID"
|
|
5800
|
+
},
|
|
5801
|
+
"atwProjectId": {
|
|
5802
|
+
"type": "integer",
|
|
5803
|
+
"format": "int64",
|
|
5804
|
+
"title": "工时系统项目ID",
|
|
5805
|
+
"description": "工时系统项目ID"
|
|
5806
|
+
},
|
|
5807
|
+
"projectId": {
|
|
5808
|
+
"type": "integer",
|
|
5809
|
+
"format": "int64",
|
|
5810
|
+
"title": "项目ID",
|
|
5811
|
+
"description": "项目ID"
|
|
5812
|
+
},
|
|
5813
|
+
"name": {
|
|
5814
|
+
"type": "string",
|
|
5815
|
+
"title": "工时系统任务名称",
|
|
5816
|
+
"description": "工时系统任务名称"
|
|
5817
|
+
},
|
|
5818
|
+
"level": {
|
|
5819
|
+
"type": "integer",
|
|
5820
|
+
"format": "int32",
|
|
5821
|
+
"title": "工时系统任务层级",
|
|
5822
|
+
"description": "工时系统任务层级,1=根节点,大于1为子任务层级"
|
|
5823
|
+
},
|
|
5824
|
+
"parentAtwTaskId": {
|
|
5825
|
+
"type": "integer",
|
|
5826
|
+
"format": "int64",
|
|
5827
|
+
"title": "工时系统父任务ID",
|
|
5828
|
+
"description": "工时系统父任务ID;根节点以工时系统同步值为准"
|
|
5829
|
+
}
|
|
5830
|
+
}
|
|
5831
|
+
}
|
|
5832
|
+
},
|
|
5833
|
+
"page": {
|
|
5834
|
+
"type": "integer",
|
|
5835
|
+
"format": "int32",
|
|
5836
|
+
"description": "当前页码"
|
|
5837
|
+
},
|
|
5838
|
+
"size": {
|
|
5839
|
+
"type": "integer",
|
|
5840
|
+
"format": "int32",
|
|
5841
|
+
"description": "请求的每页条数"
|
|
5842
|
+
}
|
|
5843
|
+
}
|
|
5844
|
+
},
|
|
5845
|
+
"pagination": {
|
|
5846
|
+
"pageField": "pageNum",
|
|
5847
|
+
"sizeField": "pageSize",
|
|
5848
|
+
"itemsField": "result",
|
|
5849
|
+
"totalField": "total"
|
|
5850
|
+
},
|
|
5851
|
+
"tenant": false,
|
|
5852
|
+
"roleScope": [
|
|
5853
|
+
"sso"
|
|
5854
|
+
]
|
|
5855
|
+
},
|
|
5856
|
+
{
|
|
5857
|
+
"name": "atw-timesheet-page",
|
|
5858
|
+
"displayName": "查询工时系统工时明细(分页)",
|
|
5859
|
+
"description": "分页查询工时系统工时明细,对应 t_atw_timesheet 单表数据。",
|
|
5860
|
+
"group": "项目分析",
|
|
5861
|
+
"method": "POST",
|
|
5862
|
+
"path": "/sino-opti-hive/atw/query/pageTimesheets",
|
|
5863
|
+
"timeout": 180000,
|
|
5864
|
+
"tag": "项目分析",
|
|
5865
|
+
"domain": "project-analysis",
|
|
5866
|
+
"shortcut": "+atw-timesheets",
|
|
5867
|
+
"risk": "read",
|
|
5868
|
+
"summary": "查询工时系统工时明细(分页)",
|
|
5869
|
+
"docFile": "project-analysis.md",
|
|
5870
|
+
"requestSchema": {
|
|
5871
|
+
"type": "object",
|
|
5872
|
+
"properties": {
|
|
5873
|
+
"pageNum": {
|
|
5874
|
+
"type": "integer",
|
|
5875
|
+
"format": "int32",
|
|
5876
|
+
"title": "页码",
|
|
5877
|
+
"description": "页码,从1开始;省略默认1,显式null或小于1时报错",
|
|
5878
|
+
"minimum": 1,
|
|
5879
|
+
"default": 1
|
|
5880
|
+
},
|
|
5881
|
+
"pageSize": {
|
|
5882
|
+
"type": "integer",
|
|
5883
|
+
"format": "int32",
|
|
5884
|
+
"title": "每页条数",
|
|
5885
|
+
"description": "每页条数,省略默认10,显式null或小于1时报错",
|
|
5886
|
+
"minimum": 1,
|
|
5887
|
+
"default": 10
|
|
5888
|
+
},
|
|
5889
|
+
"atwTimesheetIdList": {
|
|
5890
|
+
"type": "array",
|
|
5891
|
+
"items": {
|
|
5892
|
+
"type": "integer",
|
|
5893
|
+
"format": "int64"
|
|
5894
|
+
},
|
|
5895
|
+
"title": "工时ID列表",
|
|
5896
|
+
"description": "工时ID列表,IN 查询;不传或空列表不筛选"
|
|
5897
|
+
},
|
|
5898
|
+
"atwProjectIdList": {
|
|
5899
|
+
"type": "array",
|
|
5900
|
+
"items": {
|
|
5901
|
+
"type": "integer",
|
|
5902
|
+
"format": "int64"
|
|
5903
|
+
},
|
|
5904
|
+
"title": "工时系统项目ID列表",
|
|
5905
|
+
"description": "工时系统项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5906
|
+
},
|
|
5907
|
+
"atwProjectName": {
|
|
5908
|
+
"type": "string",
|
|
5909
|
+
"title": "工时系统项目名称",
|
|
5910
|
+
"description": "工时系统项目名称;包含匹配,空白不筛选"
|
|
5911
|
+
},
|
|
5912
|
+
"atwTaskIdList": {
|
|
5913
|
+
"type": "array",
|
|
5914
|
+
"items": {
|
|
5915
|
+
"type": "integer",
|
|
5916
|
+
"format": "int64"
|
|
5917
|
+
},
|
|
5918
|
+
"title": "工时系统任务ID列表",
|
|
5919
|
+
"description": "工时系统任务ID列表,IN 查询;不传或空列表不筛选"
|
|
5920
|
+
},
|
|
5921
|
+
"atwTaskName": {
|
|
5922
|
+
"type": "string",
|
|
5923
|
+
"title": "工时系统任务名称",
|
|
5924
|
+
"description": "工时系统任务名称;包含匹配,空白不筛选"
|
|
5925
|
+
},
|
|
5926
|
+
"atwParentTaskIdList": {
|
|
5927
|
+
"type": "array",
|
|
5928
|
+
"items": {
|
|
5929
|
+
"type": "integer",
|
|
5930
|
+
"format": "int64"
|
|
5931
|
+
},
|
|
5932
|
+
"title": "工时系统父任务ID列表",
|
|
5933
|
+
"description": "工时系统父任务ID列表,IN 查询;不传或空列表不筛选"
|
|
5934
|
+
},
|
|
5935
|
+
"atwParentTaskName": {
|
|
5936
|
+
"type": "string",
|
|
5937
|
+
"title": "工时系统父任务名称",
|
|
5938
|
+
"description": "工时系统父任务名称;包含匹配,空白不筛选"
|
|
5939
|
+
},
|
|
5940
|
+
"projectIdList": {
|
|
5941
|
+
"type": "array",
|
|
5942
|
+
"items": {
|
|
5943
|
+
"type": "integer",
|
|
5944
|
+
"format": "int64"
|
|
5945
|
+
},
|
|
5946
|
+
"title": "项目ID列表",
|
|
5947
|
+
"description": "项目ID列表,IN 查询;不传或空列表不筛选"
|
|
5948
|
+
},
|
|
5949
|
+
"kindCode": {
|
|
5950
|
+
"type": "string",
|
|
5951
|
+
"title": "服务产品编码",
|
|
5952
|
+
"description": "服务产品编码,来自工时系统字典;已知示例:1=广告优化运营(代投)、85=广告诊断顾问、-888=售前咨询,非固定枚举;精确匹配,不传不筛选"
|
|
5953
|
+
},
|
|
5954
|
+
"kindName": {
|
|
5955
|
+
"type": "string",
|
|
5956
|
+
"title": "服务产品名称",
|
|
5957
|
+
"description": "服务产品名称,来自工时系统字典;包含匹配,空白不筛选"
|
|
5958
|
+
},
|
|
5959
|
+
"userIdList": {
|
|
5960
|
+
"type": "array",
|
|
5961
|
+
"items": {
|
|
5962
|
+
"type": "integer",
|
|
5963
|
+
"format": "int32"
|
|
5964
|
+
},
|
|
5965
|
+
"title": "用户ID列表",
|
|
5966
|
+
"description": "用户ID列表,IN 查询;不传或空列表不筛选"
|
|
5967
|
+
},
|
|
5968
|
+
"channelName": {
|
|
5969
|
+
"type": "string",
|
|
5970
|
+
"title": "媒体渠道名称",
|
|
5971
|
+
"description": "媒体渠道名称,映射表中 channel 列;例如 Facebook、Google,来自工时系统渠道字典;精确匹配,不传不筛选"
|
|
5972
|
+
},
|
|
5973
|
+
"roleType": {
|
|
5974
|
+
"type": "string",
|
|
5975
|
+
"title": "角色名称",
|
|
5976
|
+
"description": "角色名称,已有映射:PM、主优化师、其他优化师、优化组长、其他成员;传名称,不传角色数字ID;精确匹配,不传不筛选"
|
|
5977
|
+
},
|
|
5978
|
+
"entryDate": {
|
|
5979
|
+
"type": "string",
|
|
5980
|
+
"title": "工时填写归属日",
|
|
5981
|
+
"description": "工时填写归属日,格式 yyyy-MM-dd;精确匹配,不传不筛选",
|
|
5982
|
+
"format": "date",
|
|
5983
|
+
"example": "2026-09-22"
|
|
5984
|
+
},
|
|
5985
|
+
"year": {
|
|
5986
|
+
"type": "integer",
|
|
5987
|
+
"format": "int32",
|
|
5988
|
+
"title": "工时填写归属年",
|
|
5989
|
+
"description": "工时填写归属年,格式 yyyy,例如 2026;精确匹配,不传不筛选",
|
|
5990
|
+
"example": 2026
|
|
5991
|
+
},
|
|
5992
|
+
"month": {
|
|
5993
|
+
"type": "integer",
|
|
5994
|
+
"format": "int32",
|
|
5995
|
+
"title": "工时填写归属月",
|
|
5996
|
+
"description": "工时填写归属月,格式 yyyyMM,例如 202609;精确匹配,不传不筛选",
|
|
5997
|
+
"example": 202609
|
|
5998
|
+
},
|
|
5999
|
+
"week": {
|
|
6000
|
+
"type": "integer",
|
|
6001
|
+
"format": "int32",
|
|
6002
|
+
"title": "工时填写归属周",
|
|
6003
|
+
"description": "工时填写归属周,格式 YYYYww(ISO周所属年份+两位周数,01–53),例如 202639=2026年第39周;周一开始,跨年时周所属年份可能与日历年份不同;精确匹配,不传不筛选",
|
|
6004
|
+
"example": 202639
|
|
6005
|
+
},
|
|
6006
|
+
"hour": {
|
|
6007
|
+
"type": "number",
|
|
6008
|
+
"title": "填写工时",
|
|
6009
|
+
"description": "填写工时,单位小时,支持小数;精确匹配,不传不筛选"
|
|
6010
|
+
},
|
|
6011
|
+
"timeCode": {
|
|
6012
|
+
"type": "string",
|
|
6013
|
+
"title": "工时类型编码",
|
|
6014
|
+
"description": "工时类型编码,来自工时系统字典;不是 time_code_type(REGULAR_TIME/LEAVE_TIME/OVER_TIME);精确匹配,不传不筛选"
|
|
6015
|
+
},
|
|
6016
|
+
"timeCodeName": {
|
|
6017
|
+
"type": "string",
|
|
6018
|
+
"title": "工时类型名称",
|
|
6019
|
+
"description": "工时类型名称,来自工时系统字典,与 timeCode 对应;包含匹配,空白不筛选"
|
|
5577
6020
|
},
|
|
5578
|
-
"
|
|
5579
|
-
"type": "
|
|
5580
|
-
"
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
6021
|
+
"activity": {
|
|
6022
|
+
"type": "string",
|
|
6023
|
+
"title": "审批状态:UNCOMMITTED=已保存",
|
|
6024
|
+
"description": "审批状态:UNCOMMITTED=已保存,APPROVING=待审批,REJECTED=未通过,APPROVED=已批准;精确匹配,不传不筛选",
|
|
6025
|
+
"enum": [
|
|
6026
|
+
"UNCOMMITTED",
|
|
6027
|
+
"APPROVING",
|
|
6028
|
+
"REJECTED",
|
|
6029
|
+
"APPROVED"
|
|
6030
|
+
]
|
|
5584
6031
|
},
|
|
5585
|
-
"
|
|
5586
|
-
"type": "
|
|
5587
|
-
"
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
6032
|
+
"submitDateStart": {
|
|
6033
|
+
"type": "string",
|
|
6034
|
+
"title": "工时提交时间区间开始(含)",
|
|
6035
|
+
"description": "工时提交时间区间开始(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
6036
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6037
|
+
"example": "2026-09-22 10:00:00"
|
|
6038
|
+
},
|
|
6039
|
+
"submitDateEnd": {
|
|
6040
|
+
"type": "string",
|
|
6041
|
+
"title": "工时提交时间区间结束(含)",
|
|
6042
|
+
"description": "工时提交时间区间结束(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
6043
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6044
|
+
"example": "2026-09-22 10:00:00"
|
|
6045
|
+
},
|
|
6046
|
+
"approvedDateStart": {
|
|
6047
|
+
"type": "string",
|
|
6048
|
+
"title": "工时审批时间区间开始(含)",
|
|
6049
|
+
"description": "工时审批时间区间开始(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
6050
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6051
|
+
"example": "2026-09-22 10:00:00"
|
|
6052
|
+
},
|
|
6053
|
+
"approvedDateEnd": {
|
|
6054
|
+
"type": "string",
|
|
6055
|
+
"title": "工时审批时间区间结束(含)",
|
|
6056
|
+
"description": "工时审批时间区间结束(含),可单独传入,格式 yyyy-MM-dd HH:mm:ss",
|
|
6057
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6058
|
+
"example": "2026-09-22 10:00:00"
|
|
5592
6059
|
}
|
|
5593
|
-
}
|
|
5594
|
-
"required": [
|
|
5595
|
-
"startMonth",
|
|
5596
|
-
"endMonth"
|
|
5597
|
-
]
|
|
6060
|
+
}
|
|
5598
6061
|
},
|
|
5599
6062
|
"responseSchema": {
|
|
5600
6063
|
"type": "object",
|
|
5601
6064
|
"properties": {
|
|
5602
|
-
"
|
|
6065
|
+
"total": {
|
|
5603
6066
|
"type": "integer",
|
|
5604
|
-
"format": "
|
|
5605
|
-
"description": "
|
|
6067
|
+
"format": "int64",
|
|
6068
|
+
"description": "符合筛选条件的总条数;越界空页仍返回真实总数"
|
|
5606
6069
|
},
|
|
5607
|
-
"
|
|
6070
|
+
"result": {
|
|
6071
|
+
"type": "array",
|
|
6072
|
+
"description": "当前页数据",
|
|
6073
|
+
"items": {
|
|
6074
|
+
"type": "object",
|
|
6075
|
+
"properties": {
|
|
6076
|
+
"atwTimesheetId": {
|
|
6077
|
+
"type": "integer",
|
|
6078
|
+
"format": "int64",
|
|
6079
|
+
"title": "工时ID",
|
|
6080
|
+
"description": "工时ID"
|
|
6081
|
+
},
|
|
6082
|
+
"atwProjectId": {
|
|
6083
|
+
"type": "integer",
|
|
6084
|
+
"format": "int64",
|
|
6085
|
+
"title": "工时系统项目ID",
|
|
6086
|
+
"description": "工时系统项目ID"
|
|
6087
|
+
},
|
|
6088
|
+
"atwProjectName": {
|
|
6089
|
+
"type": "string",
|
|
6090
|
+
"title": "工时系统项目名称",
|
|
6091
|
+
"description": "工时系统项目名称"
|
|
6092
|
+
},
|
|
6093
|
+
"atwTaskId": {
|
|
6094
|
+
"type": "integer",
|
|
6095
|
+
"format": "int64",
|
|
6096
|
+
"title": "工时系统任务ID",
|
|
6097
|
+
"description": "工时系统任务ID"
|
|
6098
|
+
},
|
|
6099
|
+
"atwTaskName": {
|
|
6100
|
+
"type": "string",
|
|
6101
|
+
"title": "工时系统任务名称",
|
|
6102
|
+
"description": "工时系统任务名称"
|
|
6103
|
+
},
|
|
6104
|
+
"atwParentTaskId": {
|
|
6105
|
+
"type": "integer",
|
|
6106
|
+
"format": "int64",
|
|
6107
|
+
"title": "工时系统父任务ID",
|
|
6108
|
+
"description": "工时系统父任务ID"
|
|
6109
|
+
},
|
|
6110
|
+
"atwParentTaskName": {
|
|
6111
|
+
"type": "string",
|
|
6112
|
+
"title": "工时系统父任务名称",
|
|
6113
|
+
"description": "工时系统父任务名称"
|
|
6114
|
+
},
|
|
6115
|
+
"projectId": {
|
|
6116
|
+
"type": "integer",
|
|
6117
|
+
"format": "int64",
|
|
6118
|
+
"title": "项目ID",
|
|
6119
|
+
"description": "项目ID"
|
|
6120
|
+
},
|
|
6121
|
+
"kindCode": {
|
|
6122
|
+
"type": "string",
|
|
6123
|
+
"title": "服务产品编码",
|
|
6124
|
+
"description": "服务产品编码,来自工时系统字典;已知示例:1=广告优化运营(代投)、85=广告诊断顾问、-888=售前咨询,非固定枚举"
|
|
6125
|
+
},
|
|
6126
|
+
"kindName": {
|
|
6127
|
+
"type": "string",
|
|
6128
|
+
"title": "服务产品名称",
|
|
6129
|
+
"description": "服务产品名称,来自工时系统字典"
|
|
6130
|
+
},
|
|
6131
|
+
"userId": {
|
|
6132
|
+
"type": "integer",
|
|
6133
|
+
"format": "int32",
|
|
6134
|
+
"title": "用户ID",
|
|
6135
|
+
"description": "用户ID"
|
|
6136
|
+
},
|
|
6137
|
+
"channelName": {
|
|
6138
|
+
"type": "string",
|
|
6139
|
+
"title": "媒体渠道名称",
|
|
6140
|
+
"description": "媒体渠道名称,映射表中 channel 列;例如 Facebook、Google,来自工时系统渠道字典"
|
|
6141
|
+
},
|
|
6142
|
+
"roleType": {
|
|
6143
|
+
"type": "string",
|
|
6144
|
+
"title": "角色名称",
|
|
6145
|
+
"description": "角色名称,已有映射:PM、主优化师、其他优化师、优化组长、其他成员;传名称,不传角色数字ID"
|
|
6146
|
+
},
|
|
6147
|
+
"entryDate": {
|
|
6148
|
+
"type": "string",
|
|
6149
|
+
"title": "工时填写归属日",
|
|
6150
|
+
"description": "工时填写归属日,格式 yyyy-MM-dd",
|
|
6151
|
+
"format": "date",
|
|
6152
|
+
"example": "2026-09-22"
|
|
6153
|
+
},
|
|
6154
|
+
"year": {
|
|
6155
|
+
"type": "integer",
|
|
6156
|
+
"format": "int32",
|
|
6157
|
+
"title": "工时填写归属年",
|
|
6158
|
+
"description": "工时填写归属年,格式 yyyy,例如 2026",
|
|
6159
|
+
"example": 2026
|
|
6160
|
+
},
|
|
6161
|
+
"month": {
|
|
6162
|
+
"type": "integer",
|
|
6163
|
+
"format": "int32",
|
|
6164
|
+
"title": "工时填写归属月",
|
|
6165
|
+
"description": "工时填写归属月,格式 yyyyMM,例如 202609",
|
|
6166
|
+
"example": 202609
|
|
6167
|
+
},
|
|
6168
|
+
"week": {
|
|
6169
|
+
"type": "integer",
|
|
6170
|
+
"format": "int32",
|
|
6171
|
+
"title": "工时填写归属周",
|
|
6172
|
+
"description": "工时填写归属周,格式 YYYYww(ISO周所属年份+两位周数,01–53),例如 202639=2026年第39周;周一开始,跨年时周所属年份可能与日历年份不同",
|
|
6173
|
+
"example": 202639
|
|
6174
|
+
},
|
|
6175
|
+
"hour": {
|
|
6176
|
+
"type": "number",
|
|
6177
|
+
"title": "填写工时",
|
|
6178
|
+
"description": "填写工时,单位小时,支持小数"
|
|
6179
|
+
},
|
|
6180
|
+
"timeCode": {
|
|
6181
|
+
"type": "string",
|
|
6182
|
+
"title": "工时类型编码",
|
|
6183
|
+
"description": "工时类型编码,来自工时系统字典;不是 time_code_type(REGULAR_TIME/LEAVE_TIME/OVER_TIME)"
|
|
6184
|
+
},
|
|
6185
|
+
"timeCodeName": {
|
|
6186
|
+
"type": "string",
|
|
6187
|
+
"title": "工时类型名称",
|
|
6188
|
+
"description": "工时类型名称,来自工时系统字典,与 timeCode 对应"
|
|
6189
|
+
},
|
|
6190
|
+
"activity": {
|
|
6191
|
+
"type": "string",
|
|
6192
|
+
"title": "审批状态:UNCOMMITTED=已保存",
|
|
6193
|
+
"description": "审批状态:UNCOMMITTED=已保存,APPROVING=待审批,REJECTED=未通过,APPROVED=已批准",
|
|
6194
|
+
"enum": [
|
|
6195
|
+
"UNCOMMITTED",
|
|
6196
|
+
"APPROVING",
|
|
6197
|
+
"REJECTED",
|
|
6198
|
+
"APPROVED"
|
|
6199
|
+
]
|
|
6200
|
+
},
|
|
6201
|
+
"submitDate": {
|
|
6202
|
+
"type": "string",
|
|
6203
|
+
"title": "工时提交时间",
|
|
6204
|
+
"description": "工时提交时间,格式 yyyy-MM-dd HH:mm:ss",
|
|
6205
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6206
|
+
"example": "2026-09-22 10:00:00"
|
|
6207
|
+
},
|
|
6208
|
+
"approvedDate": {
|
|
6209
|
+
"type": "string",
|
|
6210
|
+
"title": "工时审批时间",
|
|
6211
|
+
"description": "工时审批时间,格式 yyyy-MM-dd HH:mm:ss",
|
|
6212
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
|
|
6213
|
+
"example": "2026-09-22 10:00:00"
|
|
6214
|
+
}
|
|
6215
|
+
}
|
|
6216
|
+
}
|
|
6217
|
+
},
|
|
6218
|
+
"page": {
|
|
5608
6219
|
"type": "integer",
|
|
5609
6220
|
"format": "int32",
|
|
5610
|
-
"description": "
|
|
6221
|
+
"description": "当前页码"
|
|
5611
6222
|
},
|
|
5612
|
-
"
|
|
6223
|
+
"size": {
|
|
5613
6224
|
"type": "integer",
|
|
5614
6225
|
"format": "int32",
|
|
5615
|
-
"description": "
|
|
5616
|
-
},
|
|
5617
|
-
"fullTimeEquivalent": {
|
|
5618
|
-
"type": "number",
|
|
5619
|
-
"description": "实际折算人力(四舍五入一位小数)"
|
|
5620
|
-
},
|
|
5621
|
-
"spendPerHour": {
|
|
5622
|
-
"type": "number",
|
|
5623
|
-
"description": "单位工时消耗(四舍五入取整数)"
|
|
5624
|
-
},
|
|
5625
|
-
"spendPerHourOfIndustry": {
|
|
5626
|
-
"type": "number",
|
|
5627
|
-
"description": "行业单位工时消耗均值(四舍五入取整数)"
|
|
5628
|
-
},
|
|
5629
|
-
"timesheet": {
|
|
5630
|
-
"type": "number",
|
|
5631
|
-
"description": "工时"
|
|
6226
|
+
"description": "请求的每页条数"
|
|
5632
6227
|
}
|
|
5633
6228
|
}
|
|
5634
6229
|
},
|
|
6230
|
+
"pagination": {
|
|
6231
|
+
"pageField": "pageNum",
|
|
6232
|
+
"sizeField": "pageSize",
|
|
6233
|
+
"itemsField": "result",
|
|
6234
|
+
"totalField": "total"
|
|
6235
|
+
},
|
|
5635
6236
|
"tenant": false,
|
|
5636
6237
|
"roleScope": [
|
|
5637
6238
|
"sso"
|
|
@@ -27026,7 +27627,7 @@
|
|
|
27026
27627
|
},
|
|
27027
27628
|
{
|
|
27028
27629
|
"name": "sso-user-info",
|
|
27029
|
-
"displayName": "查询SSO用户信息",
|
|
27630
|
+
"displayName": "查询SSO用户信息(用户ID)",
|
|
27030
27631
|
"description": "按用户ID查询SSO用户信息。返回用户ID、用户名称、账户登陆名。查不到返回 result 为 null。",
|
|
27031
27632
|
"group": "用户信息",
|
|
27032
27633
|
"method": "POST",
|
|
@@ -27036,7 +27637,7 @@
|
|
|
27036
27637
|
"domain": "user",
|
|
27037
27638
|
"shortcut": "+sso-info",
|
|
27038
27639
|
"risk": "read",
|
|
27039
|
-
"summary": "查询SSO用户信息",
|
|
27640
|
+
"summary": "查询SSO用户信息(用户ID)",
|
|
27040
27641
|
"docFile": "user.md",
|
|
27041
27642
|
"requestSchema": {
|
|
27042
27643
|
"type": "object",
|
|
@@ -27083,7 +27684,7 @@
|
|
|
27083
27684
|
},
|
|
27084
27685
|
{
|
|
27085
27686
|
"name": "sso-user-info-batch",
|
|
27086
|
-
"displayName": "批量查询SSO用户信息",
|
|
27687
|
+
"displayName": "批量查询SSO用户信息(用户ID)",
|
|
27087
27688
|
"description": "按用户ID集合批量查询SSO用户信息。返回用户ID、用户名称、账户登陆名。入参去重后查询,只返回命中项。",
|
|
27088
27689
|
"group": "用户信息",
|
|
27089
27690
|
"method": "POST",
|
|
@@ -27093,7 +27694,7 @@
|
|
|
27093
27694
|
"domain": "user",
|
|
27094
27695
|
"shortcut": "+sso-info-batch",
|
|
27095
27696
|
"risk": "read",
|
|
27096
|
-
"summary": "批量查询SSO用户信息",
|
|
27697
|
+
"summary": "批量查询SSO用户信息(用户ID)",
|
|
27097
27698
|
"docFile": "user.md",
|
|
27098
27699
|
"requestSchema": {
|
|
27099
27700
|
"type": "object",
|
|
@@ -27143,6 +27744,103 @@
|
|
|
27143
27744
|
"system"
|
|
27144
27745
|
]
|
|
27145
27746
|
},
|
|
27747
|
+
{
|
|
27748
|
+
"name": "sso-user-list",
|
|
27749
|
+
"displayName": "查询SSO用户列表(支持名称模糊)",
|
|
27750
|
+
"description": "查询 SSO 用户列表,userIdList和userName至少传一个。",
|
|
27751
|
+
"group": "用户信息",
|
|
27752
|
+
"method": "POST",
|
|
27753
|
+
"path": "/bc-business-pu/user/querySsoUserList",
|
|
27754
|
+
"timeout": 180000,
|
|
27755
|
+
"tag": "用户信息",
|
|
27756
|
+
"domain": "user",
|
|
27757
|
+
"shortcut": "+sso-list",
|
|
27758
|
+
"risk": "read",
|
|
27759
|
+
"summary": "查询SSO用户列表(支持名称模糊)",
|
|
27760
|
+
"docFile": "user.md",
|
|
27761
|
+
"requestSchema": {
|
|
27762
|
+
"type": "object",
|
|
27763
|
+
"properties": {
|
|
27764
|
+
"userIdList": {
|
|
27765
|
+
"type": "array",
|
|
27766
|
+
"items": {
|
|
27767
|
+
"type": "integer",
|
|
27768
|
+
"format": "int32"
|
|
27769
|
+
},
|
|
27770
|
+
"description": "SSO 用户 ID 列表"
|
|
27771
|
+
},
|
|
27772
|
+
"userName": {
|
|
27773
|
+
"type": "string",
|
|
27774
|
+
"description": "名称模糊查询关键字"
|
|
27775
|
+
}
|
|
27776
|
+
},
|
|
27777
|
+
"anyOf": [
|
|
27778
|
+
{
|
|
27779
|
+
"required": [
|
|
27780
|
+
"userIdList"
|
|
27781
|
+
],
|
|
27782
|
+
"properties": {
|
|
27783
|
+
"userIdList": {
|
|
27784
|
+
"type": "array",
|
|
27785
|
+
"minItems": 1,
|
|
27786
|
+
"items": {
|
|
27787
|
+
"type": "string"
|
|
27788
|
+
}
|
|
27789
|
+
}
|
|
27790
|
+
},
|
|
27791
|
+
"type": "object"
|
|
27792
|
+
},
|
|
27793
|
+
{
|
|
27794
|
+
"required": [
|
|
27795
|
+
"userName"
|
|
27796
|
+
],
|
|
27797
|
+
"properties": {
|
|
27798
|
+
"userName": {
|
|
27799
|
+
"type": "string",
|
|
27800
|
+
"pattern": "\\S"
|
|
27801
|
+
}
|
|
27802
|
+
},
|
|
27803
|
+
"type": "object"
|
|
27804
|
+
}
|
|
27805
|
+
]
|
|
27806
|
+
},
|
|
27807
|
+
"responseSchema": {
|
|
27808
|
+
"type": "array",
|
|
27809
|
+
"description": "用户列表,无分页包装",
|
|
27810
|
+
"items": {
|
|
27811
|
+
"type": "object",
|
|
27812
|
+
"properties": {
|
|
27813
|
+
"userId": {
|
|
27814
|
+
"type": "integer",
|
|
27815
|
+
"description": "用户 ID",
|
|
27816
|
+
"format": "int32"
|
|
27817
|
+
},
|
|
27818
|
+
"employeeNumber": {
|
|
27819
|
+
"type": "string",
|
|
27820
|
+
"description": "员工编号"
|
|
27821
|
+
},
|
|
27822
|
+
"loginName": {
|
|
27823
|
+
"type": "string",
|
|
27824
|
+
"description": "英文名称"
|
|
27825
|
+
},
|
|
27826
|
+
"userDisplayName": {
|
|
27827
|
+
"type": "string",
|
|
27828
|
+
"description": "用户姓名"
|
|
27829
|
+
},
|
|
27830
|
+
"email": {
|
|
27831
|
+
"type": "string",
|
|
27832
|
+
"description": "邮箱"
|
|
27833
|
+
}
|
|
27834
|
+
}
|
|
27835
|
+
}
|
|
27836
|
+
},
|
|
27837
|
+
"tenant": false,
|
|
27838
|
+
"roleScope": [
|
|
27839
|
+
"sso",
|
|
27840
|
+
"passport",
|
|
27841
|
+
"system"
|
|
27842
|
+
]
|
|
27843
|
+
},
|
|
27146
27844
|
{
|
|
27147
27845
|
"name": "media-channels",
|
|
27148
27846
|
"displayName": "查询投放渠道列表",
|
|
@@ -28698,53 +29396,6 @@
|
|
|
28698
29396
|
"passport"
|
|
28699
29397
|
]
|
|
28700
29398
|
},
|
|
28701
|
-
{
|
|
28702
|
-
"name": "invoice-settlement-detail-pdf",
|
|
28703
|
-
"displayName": "结算单详情 PDF",
|
|
28704
|
-
"description": "已废弃。返回单条 PDF URL;多文件请用发票下载。",
|
|
28705
|
-
"group": "发票结算单",
|
|
28706
|
-
"method": "GET",
|
|
28707
|
-
"path": "/sino-wallet-pu/invoice/settlement/detail/pdf",
|
|
28708
|
-
"timeout": 180000,
|
|
28709
|
-
"tag": "发票结算单",
|
|
28710
|
-
"domain": "wallet",
|
|
28711
|
-
"shortcut": "+invoice-pdf",
|
|
28712
|
-
"risk": "read",
|
|
28713
|
-
"summary": "结算单详情 PDF",
|
|
28714
|
-
"docFile": "wallet-invoice.md",
|
|
28715
|
-
"requestSchema": {
|
|
28716
|
-
"type": "object",
|
|
28717
|
-
"properties": {
|
|
28718
|
-
"invoiceSettlementId": {
|
|
28719
|
-
"type": "string",
|
|
28720
|
-
"description": "发票编号/结算单id"
|
|
28721
|
-
}
|
|
28722
|
-
},
|
|
28723
|
-
"required": [
|
|
28724
|
-
"invoiceSettlementId"
|
|
28725
|
-
]
|
|
28726
|
-
},
|
|
28727
|
-
"queryParameters": [
|
|
28728
|
-
{
|
|
28729
|
-
"name": "invoiceSettlementId",
|
|
28730
|
-
"required": true,
|
|
28731
|
-
"schema": {
|
|
28732
|
-
"type": "string",
|
|
28733
|
-
"description": "发票编号/结算单id"
|
|
28734
|
-
},
|
|
28735
|
-
"explode": true
|
|
28736
|
-
}
|
|
28737
|
-
],
|
|
28738
|
-
"responseSchema": {
|
|
28739
|
-
"type": "string",
|
|
28740
|
-
"title": "pdf url",
|
|
28741
|
-
"description": "单个 PDF URL"
|
|
28742
|
-
},
|
|
28743
|
-
"tenant": true,
|
|
28744
|
-
"roleScope": [
|
|
28745
|
-
"passport"
|
|
28746
|
-
]
|
|
28747
|
-
},
|
|
28748
29399
|
{
|
|
28749
29400
|
"name": "invoice-download",
|
|
28750
29401
|
"displayName": "下载发票",
|