远程调用新增Map查询参数注解,@RemoteService注解新增value值

This commit is contained in:
wanggeng 2021-09-22 22:52:17 +08:00
parent 47b64ec677
commit 2c165fc97c
2 changed files with 21 additions and 1 deletions

View File

@ -12,4 +12,8 @@ import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface RemoteService {}
public @interface RemoteService {
String value() default "";
}

View File

@ -0,0 +1,16 @@
package ink.wgink.annotation.rpc.rest.params;
import java.lang.annotation.*;
/**
* @ClassName: RemoteQueryMapParams
* @Description: QueryMap
* @Author: wanggeng
* @Date: 2021/9/22 6:07 下午
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})
public @interface RemoteQueryParamsMap {
}