Clinic Api
客户端Api
url | 传入参数 | 返回 |
---|---|---|
/user/login | (string)username (string)password |
flag |
/user/register | (string)username (string)password (string)name (string)sex (int)age (string)phoneNumber (string)email |
flag |
/user/information | (string)username | flag User |
/user/doctorList | (string)treatmentName | flag Doctor |
/user/treatmentList | flag Treatment |
|
/user/appointmentOfSomeDay | (string)date (int)week (string)treatmentName (int)doctorId |
flag WorkTimeTable |
/user/appointment | (string)username (int)doctorId (string)treatmentName (string)appointmentTime (string)questions (string)time |
flag Appointment |
/user/clinicInformation | (int)clinicId | flag Clinic |
医生端Api
url | 传入参数 | 返回 |
---|---|---|
doctor/login | (string)username (string)password |
flag Doctor |
doctor/register | (string)username (string)password (string)name (string)sex (string)phoneNumber (string)email |
flag |
doctor/appointmentInformation | (string)date (int)doctorId |
flag Appointment |
doctor/allTreatmentRecords | (int)doctorId | flag TreatmentRecords |
doctor/treatmentRecordsOfSomeDay | (int)doctorId (string)date |
flag TreatmentRecords |
doctor/information | (int)doctorId | flag Doctor |
doctor/updateInformation | (string)username (string)password (string)name (string)sex (string)phoneNumber (string)email (int)doctorId (string)introduction |
flag |
doctor/waitingQueue | (int)doctorId | flag User |
doctor/nextCustomer | (int)doctorId (string)userName (string)time |
flag LeadMessage |
doctor/startTreat | (int)statusTableId (string)startTime |
flag |
doctor/endTreat | (int)statusTableId (string)endTime |
flag |
前台端Api
url | 传入参数 | 返回 |
---|---|---|
front/login | (string)username (string)password |
flag |
front/register | (string)username (string)password (string)name (string)phoneNumber |
flag |
front/appointmentOfToday | flag Appointment |
|
front/appointmentOfSomeday | (string)date | flag Appointment |
user/appointmentOfSomeDay | (string)date (int)week (string)treatmentName (int)doctorId |
flag WorkTimeTable |
front/arrive | (int)statusTableId | flag |
user/doctorList | (string)treatmentName | flag Doctor |
user/treatmentList | flag Treatment |
|
front/appointment | (string)username (int)doctorId (string)treatmentName (string)appointmentTime (string)questions (string)phoneNumber (string)email (string)time |
flag Appointment |
front/statusInformation | (int)statusId | flag StatusTable |
front/pay | (int)statusTableId (string)payMethod (int)score (string)comment |
flag |