
com.starmcc.qmframework.body.QmBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qm-framework Show documentation
Show all versions of qm-framework Show documentation
springboot based on a series of packaging framework.
QmFramework to implements AOP,
rewrite the requestBody,
global exception catching,version checking,
request body parameter symmetric encryption mechanism,
controller packaging and the toolkit collection.
thank you for using it.
package com.starmcc.qmframework.body;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* qmframework请求json数据解析注解
*
* @Author: qm
* @Date 2018年11月30日14:46:28
*/
@Target(ElementType.PARAMETER)//使用在参数上
@Retention(RetentionPolicy.RUNTIME)//运行时注解
public @interface QmBody {
/**
* 是否必须传递的参数
*/
boolean required() default true;
/**
* 解析时用到的JSON的key
*/
String key() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy