修正部门为空时返回值

This commit is contained in:
wucongxing 2023-07-19 09:18:08 +08:00
parent b314fb22f6
commit 0a6ede141d

View File

@ -23,11 +23,6 @@ func (r *Dept) GetDeptList(c *gin.Context) {
return
}
if deptList == nil {
responses.Ok(c)
return
}
responses.OkWithData(deptList, c)
return
}