修正返回目录
This commit is contained in:
@@ -4,9 +4,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/hosDepCustomResponse"
|
||||
"hospital-admin-api/global"
|
||||
"hospital-admin-api/utils"
|
||||
)
|
||||
@@ -36,6 +36,6 @@ func (b *Department) GetDepartmentCustomList(c *gin.Context) {
|
||||
}
|
||||
|
||||
// 处理返回值
|
||||
getDepartmentListResponse := hosDepCustomResponse.GetHospitalDepartmentCustomListResponse(hospitalDepartmentCustom)
|
||||
getDepartmentListResponse := dto.GetHospitalDepartmentCustomListDto(hospitalDepartmentCustom)
|
||||
responses.OkWithData(getDepartmentListResponse, c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user