refactor: 💥 调整后端请求、响应参数模型命名风格

XxxRequest => XxxReq
XxxVO => XxxResp
This commit is contained in:
2023-11-04 17:19:00 +08:00
parent 598dd3991c
commit 87f90567db
136 changed files with 828 additions and 832 deletions

View File

@@ -57,7 +57,7 @@ public class ExcelUtils {
* @param response
* 响应对象
*/
public static <V> void export(List<V> list, String fileName, Class<V> clazz, HttpServletResponse response) {
public static <T> void export(List<T> list, String fileName, Class<T> clazz, HttpServletResponse response) {
export(list, fileName, "Sheet1", clazz, response);
}
@@ -75,7 +75,7 @@ public class ExcelUtils {
* @param response
* 响应对象
*/
public static <V> void export(List<V> list, String fileName, String sheetName, Class<V> clazz,
public static <T> void export(List<T> list, String fileName, String sheetName, Class<T> clazz,
HttpServletResponse response) {
try {
fileName =

View File

@@ -61,7 +61,7 @@ public class ServletUtils {
* 获取浏览器及其版本信息
*
* @param request
* 请求信息
* 请求对象
* @return 浏览器及其版本信息
*/
public static String getBrowser(HttpServletRequest request) {