根据药房查询医生列表

This commit is contained in:
haomingming
2026-09-07 15:21:06 +08:00
parent 0cff5b3f8d
commit 338d56beda
7 changed files with 260 additions and 6 deletions
+21 -5
View File
@@ -1,11 +1,27 @@
package requests
type PharmacyRequest struct {
GetPharmacyList // 获取药房列表
GetPharmacyPage // 获取药房列表-分页
AddPharmacy // 新增药房
PutPharmacy // 修改药房
PutPharmacyStatus // 修改药房状态
GetPharmacyList // 获取药房列表
GetPharmacyPage // 获取药房列表-分页
AddPharmacy // 新增药房
PutPharmacy // 修改药房
PutPharmacyStatus // 修改药房状态
GetPharmacyDoctorPage // 药房绑定的医生列表-分页
GetPharmacyDoctorList // 药房绑定的医生列表
}
// GetPharmacyDoctorPage 药房绑定的医生列表-分页
type GetPharmacyDoctorPage struct {
PharmacyId string `json:"pharmacy_id" form:"pharmacy_id" label:"药房id" validate:"required"`
DoctorName string `json:"doctor_name" form:"doctor_name" label:"医生姓名"`
Mobile string `json:"mobile" form:"mobile" label:"手机号"`
Page int `json:"page" form:"page" label:"页码"`
PageSize int `json:"page_size" form:"page_size" label:"每页个数"`
}
// GetPharmacyDoctorList 药房绑定的医生列表
type GetPharmacyDoctorList struct {
PharmacyId string `json:"pharmacy_id" form:"pharmacy_id" label:"药房id"`
}
// GetPharmacyList 获取药房列表