fix: 修复患者就诊历史

This commit is contained in:
2025-12-25 14:28:25 +08:00
parent bbb78c77ff
commit 55e9241c4f
7 changed files with 169 additions and 34 deletions

View File

@@ -60,4 +60,13 @@ export async function getChatRegisterInfoApi(params) {
export function upLoadChatFileApi(params) {
return console.log('aaaaaaaaaaaaaaaaaaa', uploadFile('/chat-friends/upload-chat-file', params))
return uploadFile('/chat-friends/upload-chat-file', params)
}
/**
* 获取医生信息
* @param params { doctor_id: string }
* @returns {Promise<*>}
*/
export async function getDoctorInfoApi(params) {
return await get('/chat-friends/get-doctor-info', params, 3)
}

View File

@@ -47,4 +47,13 @@ export async function getHomeZonesApi(params) {
*/
export async function updateIntroductionImagesApi(params) {
return await post('/product/update-introduction-images', params, 3)
}
/**
* 检查药店在线复诊配置(委托诊所和医生)
* @param params { store_id: number }
* @returns {Promise<*>}
*/
export async function checkOnlineConsultationConfigApi(params) {
return await get('/store/check-online-consultation-config', params, 3)
}