feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-02 15:23:48 +08:00
parent 30173f8dd2
commit 5c4d883c97
12 changed files with 418 additions and 203 deletions

8
utils/utils.go Normal file
View File

@ -0,0 +1,8 @@
package utils
func ReverseSlice(src []int) []int {
for from, to := 0, len(src)-1; from < to; from, to = from+1, to-1 {
src[from], src[to] = src[to], src[from]
}
return src
}