zqbao 9 сар өмнө
parent
commit
9548c2cb63
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      controllers/user.go

+ 1 - 1
controllers/user.go

@@ -519,7 +519,7 @@ func (this *UserController) List() {
 		}
 	}
 	if sortCondition == "" {
-		sortCondition = " ORDER BY u.valid_end_time ASC"
+		sortCondition = " ORDER BY u.create_time DESC"
 	}
 
 	if sellerIdStr != "" {