liujiandao
2023-09-27 b3a318b7f707ca49fa9127881bbe709654eaa761
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