diff --git a/ams/src/main/java/press/whcj/ams/service/ApiGroupService.java b/ams/src/main/java/press/whcj/ams/service/ApiGroupService.java index b261016..d875cb6 100644 --- a/ams/src/main/java/press/whcj/ams/service/ApiGroupService.java +++ b/ams/src/main/java/press/whcj/ams/service/ApiGroupService.java @@ -8,15 +8,14 @@ import java.util.List; /** - * cjTodo 2019/12/6 16:14 * @author xyyxhcj@qq.com * @since 2019/12/31 */ public interface ApiGroupService { - List findList(ApiGroup apiGroupDto); + List findList(ApiGroup apiGroupDto); - String save(ApiGroup apiGroupDto, UserVo operator); + String save(ApiGroup apiGroupDto, UserVo operator); void delete(ApiGroup apiGroupDto); } diff --git a/ams/src/main/java/press/whcj/ams/service/impl/ApiServiceImpl.java b/ams/src/main/java/press/whcj/ams/service/impl/ApiServiceImpl.java index e4e9a16..e95bf9d 100644 --- a/ams/src/main/java/press/whcj/ams/service/impl/ApiServiceImpl.java +++ b/ams/src/main/java/press/whcj/ams/service/impl/ApiServiceImpl.java @@ -51,7 +51,6 @@ public String save(ApiDto apiDto, UserVo operator) { if (isUpdate) { api = mongoTemplate.findById(apiDto.getId(), Api.class); FastUtils.checkNull(api); - // cjTodo 2019/12/31 保存历史 Objects.requireNonNull(api).setUpdate(null); } else { api = new Api();