添加文件上传注解

This commit is contained in:
wanggeng 2022-08-07 21:56:59 +08:00
parent 8e06f4b7ef
commit 584970d96c
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.rpc.rest.params;
import java.lang.annotation.*;
/**
* @ClassName: RemoteFile
* @Description: 文件流
* @Author: wanggeng
* @Date: 2022/8/4 09:57
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})
public @interface RemoteFileInputStreamParams {
String value();
}

View File

@ -0,0 +1,19 @@
package ink.wgink.annotation.rpc.rest.params;
import java.lang.annotation.*;
/**
* @ClassName: RemoteFile
* @Description: 文件
* @Author: wanggeng
* @Date: 2022/8/4 09:57
* @Version: 1.0
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER})
public @interface RemoteFileParams {
String value();
}