feat: 新增体格检查

This commit is contained in:
王天骄
2026-06-03 16:01:03 +08:00
parent 0650ef1c4a
commit 287812fea5
5 changed files with 488 additions and 7 deletions
+7 -1
View File
@@ -1,4 +1,8 @@
const apiBaseUrl = 'http://127.0.0.1:8000/api'
let apiBaseUrl = 'http://192.168.2.76:8000/api'
// #ifdef H5
apiBaseUrl = '/backend-api'
// #endif
export const API_BASE_URL = apiBaseUrl
@@ -14,6 +18,8 @@ export type SendCodeResponse = {
export type LoginCodePayload = {
phone: string
code: string
institution_code: string
institution_name: string
}
export type BackendUser = {
+2 -1
View File
@@ -34,7 +34,8 @@ const defaultCase: ClinicalCase = {
department: '心血管内科',
scene: '住院部',
caseNo: '1006004',
tone: 'orange'
tone: 'orange',
mode: 'training'
}
export function createMockChatSession(caseItem?: ClinicalCase | null): Promise<ChatSession> {