Browse Source

fix:修改字段

zqbao 8 months ago
parent
commit
bf3eded933
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/user.go

+ 2 - 2
controllers/user.go

@@ -1216,9 +1216,9 @@ func (this *UserController) GlobalSearch() {
 	if sortParam != "" && sortType != "" {
 		var param, sort string
 		switch sortParam {
-		case "read_cnt":
+		case "ReadCnt":
 			param = "read_cnt"
-		case "last_update_time":
+		case "LastUpdateTime":
 			param = "last_update_time"
 		}
 		switch sortType {