18 lines
472 B
JavaScript
18 lines
472 B
JavaScript
import request from '@/utils/request';
|
|
|
|
/** 导入项目试题库 */
|
|
export function importQuestionBand(data, companyId) {
|
|
return request({
|
|
url: `/api/questionBank/questions/import?id=${companyId}`,
|
|
method: 'post',
|
|
data
|
|
});
|
|
}
|
|
/** 查询公司下题目类型数量 */
|
|
export function selectQuestionTypeNum(companyId) {
|
|
return request({
|
|
url: `/api/questionBank/type/number?companyId=${companyId}`,
|
|
method: 'get'
|
|
});
|
|
}
|