diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CacheKey.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CacheKey.java index e35ce4f..5a84ce6 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CacheKey.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CacheKey.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.constant; diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CommonConstant.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CommonConstant.java index 8ef7392..3be046e 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CommonConstant.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CommonConstant.java @@ -1,26 +1,8 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.constant; -/** - * 常量 - * @author geekidea - * @date 2018-11-08 - */ + public interface CommonConstant { /** diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CommonRedisKey.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CommonRedisKey.java index 4689653..872a139 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CommonRedisKey.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/CommonRedisKey.java @@ -1,28 +1,7 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - *

- * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - *

- * http://www.apache.org/licenses/LICENSE-2.0 - *

- * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.constant; -/** - *

- * redis key 常量 - *

- * @author geekidea - * @date 2019-05-23 - **/ public interface CommonRedisKey { /** diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/DatePattern.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/DatePattern.java index 2c3ecc2..5e103a0 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/DatePattern.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/constant/DatePattern.java @@ -1,28 +1,8 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.constant; -/** - *

- * 日期格式常量 - *

- * @author geekidea - * @date 2018-11-08 - */ + public interface DatePattern { /** diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/entity/BaseEntity.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/entity/BaseEntity.java index bec52c6..71b8b36 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/entity/BaseEntity.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/entity/BaseEntity.java @@ -5,10 +5,7 @@ import io.swagger.annotations.ApiModel; import java.io.Serializable; -/** - * @author geekidea - * @date 2018-11-08 - */ + @ApiModel("BaseEntity") public abstract class BaseEntity implements Serializable{ } diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/service/BaseService.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/service/BaseService.java index 6992f63..769d458 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/service/BaseService.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/service/BaseService.java @@ -1,27 +1,9 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.ruoyi.app.common.service; import com.baomidou.mybatisplus.extension.service.IService; -/** - * @author geekidea - * @date 2018-11-08 - */ + public interface BaseService extends IService { } diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/ApiDocController.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/ApiDocController.java index f54ff91..a0898b2 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/ApiDocController.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/ApiDocController.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.web.controller; @@ -21,14 +7,7 @@ import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import springfox.documentation.annotations.ApiIgnore; -/** - *

- * Api文档 - *

- * - * @author geekidea - * @date 2018-11-08 - */ + @Controller @RequestMapping("/docs") @ApiIgnore diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/BaseController.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/BaseController.java index de5d98b..641753d 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/BaseController.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/BaseController.java @@ -1,18 +1,3 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.ruoyi.app.common.web.controller; @@ -24,10 +9,7 @@ import org.springframework.web.context.request.ServletRequestAttributes; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -/** - * @author geekidea - * @date 2018-11-08 - */ + @Slf4j public abstract class BaseController extends ApiController { diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/IndexController.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/IndexController.java index 5f3d56f..db84eb0 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/IndexController.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/controller/IndexController.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.web.controller; @@ -22,13 +8,6 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import springfox.documentation.annotations.ApiIgnore; -/** - *

- * 项目根路径提示信息 - *

- * @author geekidea - * @date 2018/11/12 - */ @RestController @ApiIgnore @Slf4j diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/IdParam.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/IdParam.java index d5ec1f4..91c34b5 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/IdParam.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/IdParam.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.web.param; @@ -22,10 +8,7 @@ import lombok.Data; import javax.validation.constraints.NotBlank; import java.io.Serializable; -/** - * @author geekidea - * @date 2018-11-08 - */ + @Data @ApiModel("ID参数") public class IdParam implements Serializable { diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/IdStatusParam.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/IdStatusParam.java index f917ba3..2e5d28d 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/IdStatusParam.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/IdStatusParam.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.web.param; @@ -21,10 +7,6 @@ import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; -/** - * @author geekidea - * @date 2018-11-08 - */ @ApiModel("主键状态VO") public class IdStatusParam implements Serializable { private static final long serialVersionUID = -7581307955242965701L; diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/NameParam.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/NameParam.java index af81547..273340f 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/NameParam.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/NameParam.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.web.param; @@ -21,11 +7,7 @@ import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; -/** - * 名称参数 - * @author geekidea - * @date 2018-11-08 - */ + @ApiModel("名称参数") public class NameParam implements Serializable { private static final long serialVersionUID = -3710501706034574149L; diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/OrderQueryParam.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/OrderQueryParam.java index 2746d84..4f70140 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/OrderQueryParam.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/OrderQueryParam.java @@ -1,18 +1,3 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.ruoyi.app.common.web.param; @@ -26,11 +11,7 @@ import org.apache.commons.collections.CollectionUtils; import java.util.Arrays; import java.util.List; -/** - * 可排序查询参数对象 - * @author geekidea - * @since 2019-08-04 - */ + @Data @EqualsAndHashCode(callSuper = true) @ApiModel("可排序查询参数对象") diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/QueryParam.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/QueryParam.java index d0c28d6..650338a 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/QueryParam.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/param/QueryParam.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.web.param; @@ -23,11 +9,7 @@ import lombok.Data; import java.io.Serializable; -/** - * 查询参数 - * @author geekidea - * @since 2018-11-08 - */ + @Data @ApiModel("查询参数对象") public abstract class QueryParam implements Serializable{ diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/vo/CommonIdName.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/vo/CommonIdName.java index a900020..26b94d3 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/vo/CommonIdName.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/vo/CommonIdName.java @@ -1,31 +1,11 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.web.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; -/** - *

- * 公共ID-NAME-VO对象 - *

- * @author geekidea - * @since 2018-11-08 - */ + @ApiModel("ID-NAME-VO") public class CommonIdName { diff --git a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/vo/Paging.java b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/vo/Paging.java index b7c045a..5660a3c 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/app/common/web/vo/Paging.java +++ b/ruoyi-api/src/main/java/com/ruoyi/app/common/web/vo/Paging.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.app.common.web.vo; @@ -26,10 +12,7 @@ import java.io.Serializable; import java.util.Collections; import java.util.List; -/** - * @author geekidea - * @date 2018-11-08 - */ + @ApiModel("分页") public class Paging implements Serializable { private static final long serialVersionUID = -1683800405530086022L; diff --git a/ruoyi-api/src/test/java/com/ruoyi/plus/test/CodeGenerator.java b/ruoyi-api/src/test/java/com/ruoyi/plus/test/CodeGenerator.java index 8e90a5c..a7edfcf 100644 --- a/ruoyi-api/src/test/java/com/ruoyi/plus/test/CodeGenerator.java +++ b/ruoyi-api/src/test/java/com/ruoyi/plus/test/CodeGenerator.java @@ -1,18 +1,4 @@ -/** - * Copyright 2019-2029 geekidea(https://github.com/geekidea) - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ + package com.ruoyi.plus.test; @@ -32,9 +18,7 @@ import java.util.List; import java.util.Map; /** - * spring-boot-plus代码生成器入口类 - * @author geekidea - * @date 2018-11-08 + * 代码生成器入口类 */ public class CodeGenerator { diff --git a/ruoyi-api/src/test/java/com/ruoyi/plus/test/IpTest.java b/ruoyi-api/src/test/java/com/ruoyi/plus/test/IpTest.java deleted file mode 100644 index d4a9269..0000000 --- a/ruoyi-api/src/test/java/com/ruoyi/plus/test/IpTest.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.ruoyi.plus.test; - -/** - * @author geekidea - * @date 2019/8/4 - */ -public class IpTest { -}