restful exception helper

A restful exception helper library

Лицензия

Лицензия

Группа

Группа

com.github.120011676
Идентификатор

Идентификатор

restful-exception
Последняя версия

Последняя версия

0.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

restful exception helper
A restful exception helper library
Ссылка на сайт

Ссылка на сайт

https://github.com/120011676/restful-exception-helper
Система контроля версий

Система контроля версий

https://github.com/120011676/restful-exception-helper

Скачать restful-exception

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.120011676/restful-exception/ -->
<dependency>
    <groupId>com.github.120011676</groupId>
    <artifactId>restful-exception</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.120011676/restful-exception/
implementation 'com.github.120011676:restful-exception:0.0.1'
// https://jarcasting.com/artifacts/com.github.120011676/restful-exception/
implementation ("com.github.120011676:restful-exception:0.0.1")
'com.github.120011676:restful-exception:jar:0.0.1'
<dependency org="com.github.120011676" name="restful-exception" rev="0.0.1">
  <artifact name="restful-exception" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.120011676', module='restful-exception', version='0.0.1')
)
libraryDependencies += "com.github.120011676" % "restful-exception" % "0.0.1"
[com.github.120011676/restful-exception "0.0.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

exception-helper

##使用方式

1.gradle配置

    implementation 'com.github.120011676:ladybird-spring-boot-web-helper:latest.release'

2.java启动文件配置

@SpringBootApplication(scanBasePackages = {"com.github.qq120011676.ladybird"}, scanBasePackageClasses = Application.class)
public class Application {

3.application.yml配置

ladybird:
  restful-exception:
    code-name: errCode
    message-name: errMsg
    messages:
      no_login:
        httpStatus: 401
        message: 未登录
      no_authority:
        httpStatus: 403
        message: 无权限

###代码使用

ControllerHelper.getHttpServletRequest();

Версии библиотеки

Версия
0.0.1