添加文件上传注解
This commit is contained in:
parent
8e06f4b7ef
commit
584970d96c
@ -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();
|
||||||
|
|
||||||
|
}
|
@ -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();
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user