golangci-lint run

This commit is contained in:
孟帅
2023-07-24 09:35:30 +08:00
parent 071b6224c9
commit 996ed818ee
61 changed files with 527 additions and 271 deletions

View File

@@ -32,8 +32,8 @@ func GenLabel(basic string, appendId int64) string {
}
// GetIdLabel 获取指定Id的树标签
func GetIdLabel(Id int64) string {
return fmt.Sprintf("%v%v%v", treeBeginCut, Id, treeEndCut)
func GetIdLabel(id int64) string {
return fmt.Sprintf("%v%v%v", treeBeginCut, id, treeEndCut)
}
// GetIds 获取上级ID集合