Procházet zdrojové kódy

fix:测试记录倒序

zzf před 2 roky
rodič
revize
1d84656759
2 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. binární
      AIT/VehicleClassification.exe
  2. 1 1
      AIT/service/recordService.go

binární
AIT/VehicleClassification.exe


+ 1 - 1
AIT/service/recordService.go

@@ -34,7 +34,7 @@ func (f *RecordService) GetRecordList(param models.RecordListParam) ([]models.Re
 		PageSize: param.PageSize,
 	}
 	recordList := make([]models.Record, 0)
-	rows := common.RestPage(page, "record", query, "", &recordList, &[]models.User{})
+	rows := common.RestPage(page, "record", query, " create_time desc", &recordList, &[]models.User{})
 	return recordList, rows
 }