修正返回目录
This commit is contained in:
@@ -3,9 +3,9 @@ package controller
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"hospital-admin-api/api/dao"
|
||||
"hospital-admin-api/api/dto"
|
||||
"hospital-admin-api/api/requests"
|
||||
"hospital-admin-api/api/responses"
|
||||
"hospital-admin-api/api/responses/patientFamilyResponse"
|
||||
"hospital-admin-api/api/service"
|
||||
"hospital-admin-api/global"
|
||||
"hospital-admin-api/utils"
|
||||
@@ -44,7 +44,7 @@ func (r *PatientFamily) GetPatientFamilyPage(c *gin.Context) {
|
||||
}
|
||||
|
||||
// 处理返回值
|
||||
GetPatientFamilyPage := patientFamilyResponse.GetPatientFamilyPageResponse(patientFamily)
|
||||
GetPatientFamilyPage := dto.GetPatientFamilyListDto(patientFamily)
|
||||
|
||||
result := make(map[string]interface{})
|
||||
result["page"] = req.GetPatientFamilyPage.Page
|
||||
|
||||
Reference in New Issue
Block a user