You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import request from './request' |
|
|
|
export function listTask(query) { |
|
return request.get({ url: '/task', query }) |
|
} |
|
|
|
export function getTaskCount() { |
|
return request.get({ url: '/task/count' }) |
|
} |
|
|
|
export function submitTask(taskId) { |
|
return request.post({ url: `/task/${taskId}/submit` }) |
|
} |