Files
xk-client-wx/request/api/medicalRecord.js

20 lines
612 B
JavaScript
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.
import { post, get } from './http'
/**
* 我的病历列表xk-api POST /medical-record/list
* 取值unwrapXkApi → code/result/message
* @param {{ user_patient_id: number, page?: number, pageSize?: number }} params
*/
export async function getMedicalRecordListApi(params) {
return await post('/medical-record/list', params, 3)
}
/**
* 我的病历详情xk-api GET /medical-record/detail
* 取值unwrapXkApi → code/result/message
* @param {{ id: number }} params
*/
export async function getMedicalRecordDetailApi(params) {
return await get('/medical-record/detail', params, 3)
}