From ed8c7a5effd0d423ce1118b680ecdca6fe732609 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 02 七月 2025 16:43:13 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.11.205:9000/r/P2022036_Service --- src/main/java/com/lf/server/controller/sys/BlacklistController.java | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/lf/server/controller/sys/BlacklistController.java b/src/main/java/com/lf/server/controller/sys/BlacklistController.java index 3e14284..c33692b 100644 --- a/src/main/java/com/lf/server/controller/sys/BlacklistController.java +++ b/src/main/java/com/lf/server/controller/sys/BlacklistController.java @@ -1,6 +1,6 @@ package com.lf.server.controller.sys; -import com.lf.server.aspect.SysLog; +import com.lf.server.annotation.SysLog; import com.lf.server.controller.all.BaseController; import com.lf.server.entity.all.ResponseMsg; import com.lf.server.entity.sys.BlacklistEntity; @@ -44,7 +44,7 @@ return success(count); } catch (Exception ex) { - return fail(ex.getMessage(), -1); + return fail(ex, -1); } } @@ -67,7 +67,7 @@ return success(rs); } catch (Exception ex) { - return fail(ex.getMessage(), null); + return fail(ex, null); } } @@ -93,7 +93,7 @@ return success(count, rs); } catch (Exception ex) { - return fail(ex.getMessage(), null); + return fail(ex, null); } } @@ -106,7 +106,7 @@ return success(list); } catch (Exception ex) { - return fail(ex.getMessage(), null); + return fail(ex, null); } } @@ -122,12 +122,12 @@ return success(entity); } catch (Exception ex) { - return fail(ex.getMessage(), null); + return fail(ex, null); } } @SysLog() - @ApiOperation(value = "娣诲姞鏁版嵁") + @ApiOperation(value = "鎻掑叆涓�鏉�") @ApiImplicitParams({ @ApiImplicitParam(name = "entity", value = "瀹炰綋绫�", dataType = "BlacklistEntity", paramType = "body") }) @@ -143,12 +143,12 @@ return success(count); } catch (Exception ex) { - return fail(ex.getMessage(), -1); + return fail(ex, -1); } } @SysLog() - @ApiOperation(value = "鎵归噺娣诲姞") + @ApiOperation(value = "鎻掑叆澶氭潯") @ApiImplicitParams({ @ApiImplicitParam(name = "list", value = "瀹炰綋绫婚泦鍚�", dataType = "BlacklistEntity", paramType = "body") }) @@ -166,12 +166,12 @@ return success(count); } catch (Exception ex) { - return fail(ex.getMessage(), -1); + return fail(ex, -1); } } @SysLog() - @ApiOperation(value = "鍒櫎鏁版嵁") + @ApiOperation(value = "鍒犻櫎涓�鏉�") @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") }) @@ -182,12 +182,12 @@ return success(count); } catch (Exception ex) { - return fail(ex.getMessage(), -1); + return fail(ex, -1); } } @SysLog() - @ApiOperation(value = "鎵归噺鍒犻櫎") + @ApiOperation(value = "鍒犻櫎澶氭潯") @ApiImplicitParams({ @ApiImplicitParam(name = "ids", value = "ID鏁扮粍", dataType = "Integer", paramType = "query", example = "1,2") }) @@ -202,12 +202,12 @@ return success(count); } catch (Exception ex) { - return fail(ex.getMessage(), -1); + return fail(ex, -1); } } @SysLog() - @ApiOperation(value = "淇敼鏁版嵁") + @ApiOperation(value = "鏇存柊涓�鏉�") @ApiImplicitParams({ @ApiImplicitParam(name = "entity", value = "瀹炰綋绫�", dataType = "BlacklistEntity", paramType = "body") }) @@ -224,12 +224,12 @@ return success(count); } catch (Exception ex) { - return fail(ex.getMessage(), -1); + return fail(ex, -1); } } @SysLog() - @ApiOperation(value = "鎵归噺淇敼") + @ApiOperation(value = "鏇存柊澶氭潯") @ApiImplicitParams({ @ApiImplicitParam(name = "list", value = "瀹炰綋绫婚泦鍚�", dataType = "BlacklistEntity", paramType = "body") }) @@ -248,7 +248,7 @@ return success(count); } catch (Exception ex) { - return fail(ex.getMessage(), -1); + return fail(ex, -1); } } } -- Gitblit v1.9.3