controllers/location.go
@@ -60,6 +60,9 @@ util.ResponseFormat(c, code.RequestParamError, "查找失败") return } for _, location := range list { location.JointName = location.ParentId + "/" + location.Name } util.ResponseFormatList(c, code.Success, list, int(total)) }