数据大屏
  1. ZtTaskController
数据大屏
  • DigitalDashboard
    • ZtTaskController
      • 获取各个状态的禅道任务的数量
        GET
      • 根据传入的状态查询数据
        GET
    • ProgressController
      • 根据 Id 获取研发进度
      • 修改保存研发进度
    • TestTaskController
      • 新增主任务
      • 根据Id获取测试任务
      • 更新测试任务, 并且生成子任务
      • 结束所有异常停止的任务
      • 获取当天的运行情况
      • getDataByMileage
    • TestReportController
      • 获取近一周每天的运行情况 以及 近六个月每月的运行情况
    • TestDeviceController
      • 根据条件查询设备列表
    • 文件操作控制器
      • 上传文件
      • 下载文件(浏览器直接下载)
      • 删除文件
      • 根据桶名和文件获取直链
    • TestAttendanceRecordsController
      • getAllType
    • DingTalkController
      • getAttendanceRecords
    • XhLinksController
      • updateByPrimaryKeySelective
      • insertSelective
      • deleteByIds
      • selectByPrimaryKey
      • findAll
    • XhLinksCategoriesController
      • findAll
      • deleteByPrimaryKey
      • insertSelective
      • updateByPrimaryKeySelective
      • selectByPrimaryKey
    • LoginController
      • 用户登录接口
      • isLogin
      • tokenInfo
      • logout
      • 用户登录接口
    • RoleController
      • 新增角色 POST /api/role
      • 更新角色 PUT /api/role
      • 根据ID获取角色详情 GET /api/role/1
      • 获取角色列表 (支持分页和筛选)
      • 删除角色 DELETE /api/role/1
  1. ZtTaskController

获取各个状态的禅道任务的数量

开发中
GET
/api/task/getAllStatusCount
获取各个状态的禅道任务的数量

请求参数

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:8086/api/task/getAllStatusCount'

返回响应

🟢200Success
text/plain
WAIT("未开始", "wait"), // 未开始状态
DOING("进行中", "doing"), // 正在进行状态
DONE("完成", "done"), // 完成状态
PAUSE("暂停", "pause"), // 暂停状态
CANCEL("已取消", "cancel"), // 取消状态
TOTAL("全部", "total"), // 全部数量
DELAY("已延期", "delay"), // 延期状态
CLOSED("已关闭", "closed"); // 关闭状态
Body

示例
{
    "msg": "操作成功",
    "code": 200,
    "data": [
        {
            "total": 117,
            "status": "wait"
        },
        {
            "total": 17,
            "status": "doing"
        },
        {
            "total": 2477,
            "status": "done"
        },
        {
            "total": 5,
            "status": "pause"
        },
        {
            "total": 142,
            "status": "cancel"
        },
        {
            "total": 402,
            "status": "closed"
        },
        {
            "total": 3160,
            "status": "total"
        },
        {
            "total": 15,
            "status": "delay"
        }
    ]
}
修改于 2025-03-08 01:07:46
下一页
根据传入的状态查询数据
Built with