From e7b3a5e891287b1291d2ac38f7c83d5d73bc7906 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 08 十月 2022 08:49:01 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/controller/data/VersionController.java | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/lf/server/controller/data/VersionController.java b/src/main/java/com/lf/server/controller/data/VersionController.java index 21b8965..cc5766f 100644 --- a/src/main/java/com/lf/server/controller/data/VersionController.java +++ b/src/main/java/com/lf/server/controller/data/VersionController.java @@ -1,8 +1,8 @@ package com.lf.server.controller.data; -import com.lf.server.controller.BaseController; +import com.lf.server.aspect.SysLog; +import com.lf.server.controller.all.BaseController; import com.lf.server.entity.all.ResponseMsg; -import com.lf.server.entity.data.AuthEntity; import com.lf.server.entity.data.VersionEntity; import com.lf.server.service.data.VersionService; import io.swagger.annotations.Api; @@ -20,13 +20,14 @@ * @author SWS * @date 2022-09.29 */ -@Api(tags = "鐗堟湰琛�") +@Api(tags = "鏁版嵁绠$悊\\鐗堟湰绠$悊") @RestController @RequestMapping("/version") public class VersionController extends BaseController { @Autowired VersionService versionService; + @SysLog() @ApiOperation(value = "鏌ヨ璁板綍鏁�") @ApiImplicitParams({ @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", required = false, example = "sys_ver") @@ -42,6 +43,7 @@ } } + @SysLog() @ApiOperation(value = "鍒嗛〉鏌ヨ") @ApiImplicitParams({ @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = "sys_ver"), @@ -61,6 +63,7 @@ } } + @SysLog() @ApiOperation(value = "鍒嗛〉鏌ヨ骞惰繑鍥炶褰曟暟") @ApiImplicitParams({ @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = "1"), @@ -87,6 +90,7 @@ } } + @SysLog() @ApiOperation(value = "鎻掑叆瀛楀吀") @ApiImplicitParams({ @ApiImplicitParam(name = "versionEntity", value = "瀛楀吀瀹炰綋绫�", dataType = "com.lf.server.entity.data.VersionEntity", paramType = "body", example = "") @@ -102,6 +106,7 @@ } } + @SysLog() @ApiOperation(value = "鎻掑叆澶氭潯瀛楀吀") @ApiImplicitParams({ @ApiImplicitParam(name = "versionEntity", value = "瀛楀吀瀹炰綋绫婚泦鍚�", dataType = "List<VersionEntity>", paramType = "body", example = "") @@ -117,6 +122,7 @@ } } + @SysLog() @ApiOperation(value = "鍒犻櫎涓�鏉″瓧鍏�") @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "瀛楀吀ID", dataType = "Integer", paramType = "query", example = "1") @@ -132,6 +138,7 @@ } } + @SysLog() @ApiOperation(value = "鍒犻櫎澶氭潯瀛楀吀") @ApiImplicitParams({ @ApiImplicitParam(name = "ids", value = "瀛楀吀ID闆嗗悎", dataType = "List<Integer>", paramType = "query", example = "1,2") @@ -149,6 +156,7 @@ } } + @SysLog() @ApiOperation(value = "鏇存柊涓�鏉″瓧鍏�") @ApiImplicitParams({ @ApiImplicitParam(name = "versionEntity", value = "瀛楀吀ID闆嗗悎", dataType = "VersionEntity", paramType = "body", example = "") @@ -165,6 +173,7 @@ } } + @SysLog() @ApiOperation(value = "鏍规嵁ID鏌ヨ瀛楀吀") @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "瀛楀吀ID", dataType = "Integer", paramType = "query", example = "1") @@ -180,6 +189,7 @@ } } + @SysLog() @ApiOperation(value = "鏌ヨ鎵�鏈夊瓧鍏�") @GetMapping(value = "/selectVersionAll") public ResponseMsg<List<VersionEntity>> selectVersionAll() { -- Gitblit v1.9.3