status
This commit is contained in:
		@@ -144,6 +144,8 @@ GET /api/tasks
 | 
			
		||||
    list: [{
 | 
			
		||||
        id: 'xxxxx',     // 任務ID
 | 
			
		||||
        name: 'xxx',     // 任務名稱
 | 
			
		||||
        status: 'xxx',   // 任務狀態(waiting|running|success|error)
 | 
			
		||||
        progress: 100,   // 任務進度(0~100)
 | 
			
		||||
        data: {},        // 任務數據
 | 
			
		||||
        createdAt: '',   // 創建時間
 | 
			
		||||
        updatedAt: '',   // 更新時間
 | 
			
		||||
@@ -165,9 +167,9 @@ WebSocket /api/tasks/{task_id}
 | 
			
		||||
```javascript
 | 
			
		||||
{
 | 
			
		||||
    id: 'xxxx',    // 任務ID
 | 
			
		||||
    // 任務狀態
 | 
			
		||||
    // 任務進度
 | 
			
		||||
    // 返回數據
 | 
			
		||||
    status: 'xxx', // 任務狀態(waiting|running|success|error)
 | 
			
		||||
    progress: 100, // 任務進度(0~100)
 | 
			
		||||
    data: {},      // 返回數據
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user