|
@@ -1,5 +1,7 @@
|
|
|
package cn.com.qmth.examcloud.exchange.inner.api.request;
|
|
|
|
|
|
+import org.springframework.web.multipart.commons.CommonsMultipartFile;
|
|
|
+
|
|
|
import cn.com.qmth.examcloud.commons.web.cloud.api.BaseRequest;
|
|
|
|
|
|
/**
|
|
@@ -23,6 +25,8 @@ public class PutFileReq extends BaseRequest {
|
|
|
|
|
|
private String filePath;
|
|
|
|
|
|
+ private CommonsMultipartFile file;
|
|
|
+
|
|
|
public String getSiteId() {
|
|
|
return siteId;
|
|
|
}
|
|
@@ -63,4 +67,12 @@ public class PutFileReq extends BaseRequest {
|
|
|
this.filePath = filePath;
|
|
|
}
|
|
|
|
|
|
+ public CommonsMultipartFile getFile() {
|
|
|
+ return file;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setFile(CommonsMultipartFile file) {
|
|
|
+ this.file = file;
|
|
|
+ }
|
|
|
+
|
|
|
}
|