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.
 
 
 
 
 
 

13 lines
312 B

import request from './request'
export function getProblem(id) {
return request.get({ url: '/task/problem/' + id })
}
export function listProblem(query) {
return request.get({ url: '/task/problem', query })
}
export function addProblem(body) {
return request.post({ url: '/task/problem', body })
}