subject-two/entry/src/main/ets/api/kaochechushihuaxiangguanjiekoukaoshizhongxin.ts
2024-11-20 13:45:49 +08:00

117 lines
3.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// @ts-ignore
/* eslint-disable */
import request from '../common/utils/http';
/** 4.考车自检项目信息读取 考车自检项目信息读取 POST /exam/carConfigurationInfo.ws */
export async function carConfigurationInfoUsingPost(
body: API.Pinyin_34,
options?: { [key: string]: any },
) {
return request<API.ROf11>('/exam/carConfigurationInfo.ws', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
},
data: body,
...(options || {}),
});
}
/** 6.随车考试员登录 随车考试员登录 POST /exam/examinerLogin.ws */
export async function examinerLoginUsingPost(
body: API.Pinyin_39,
options?: { [key: string]: any },
) {
return request<API.ROf12>('/exam/examinerLogin.ws', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
},
data: body,
...(options || {}),
});
}
/** 3.获取考点系统参数 考车从考试中心获取考点系统参数即考试平台的exam_point_config表 POST /exam/initSysset300.ws */
export async function initExamPointConfigUsingPost(
body: API.Pinyin_33,
options?: { [key: string]: any },
) {
return request<API.ROfListOfobject>('/exam/initSysset300.ws', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
},
data: body,
...(options || {}),
});
}
/** 8.考车考点信息查询 考车考点信息查询 POST /exam/queryVehiclePoint.ws */
export async function queryVehiclePointUsingPost(
body: API.Pinyin_28,
options?: { [key: string]: any },
) {
return request<API.ROfobject>('/exam/queryVehiclePoint.ws', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
},
data: body,
...(options || {}),
});
}
/** 1.终端设备注册 包括但不限于考车、闸机 POST /exam/registrationDeviceNo.ws */
export async function registrationDeviceNoUsingPost(
body: API.Pinyin_23,
options?: { [key: string]: any },
) {
return request<API.ROfobject>('/exam/registrationDeviceNo.ws', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
},
data: body,
...(options || {}),
});
}
/** 2.终端初始化时间同步 终端初始化时间同步 POST /exam/timeSynchronization.ws */
export async function timeSynchronizationUsingPost(options?: { [key: string]: any }) {
return request<API.ROf9>('/exam/timeSynchronization.ws', {
method: 'POST',
...(options || {}),
});
}
/** 5.考车自检结果写入 考车自检结果写入 POST /exam/uploadExamCarCheckResult.ws */
export async function uploadExamCarCheckResultUsingPost(
body: API.Pinyin_29,
options?: { [key: string]: any },
) {
return request<API.ROfobject>('/exam/uploadExamCarCheckResult.ws', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
},
data: body,
...(options || {}),
});
}
/** 7.考车日志信息上传 考车日志信息上传 POST /exam/uploadVehicleLog.ws */
export async function uploadVehicleLogUsingPost(
body: API.Pinyin_27,
options?: { [key: string]: any },
) {
return request<API.ROfobject>('/exam/uploadVehicleLog.ws', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
},
data: body,
...(options || {}),
});
}