jiangshuai
2023-09-28 cf1b4c60a7005b1dcd2f7e5c4b2ce5ec01c7501e
controllers/location.go
@@ -33,7 +33,7 @@
   }
   if params.ParentId != 0 {
      //查询上级名称
      first, err := models.NewLocationSearch().SetParentId(params.ParentId).First()
      first, err := models.NewLocationSearch().SetID(params.ParentId).First()
      if err != nil {
         util.ResponseFormat(c, code.RequestParamError, "查询上级名称失败")
         return