Skip to content

Commit

Permalink
图片上传的基类方法 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
XinYiWorld committed Apr 25, 2017
1 parent 3bbdab3 commit 4e3e860
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,12 @@ public void downloadFile(View executor, int requestCode, String fileUrl) {


@Override
public <T, K> void uploadOneFileAndData(View executor, int requestCode, Class<T> serviceClass, String methodName, Class<K> convertedClass, Map<String, String> params, UploadFileWrapper uploadFileWrapper, boolean... isTargetBeanAsList) {
public <T, K> void uploadOneFileAndData(View executor, int requestCode, Class<T> serviceClass, String methodName, Class<K> convertedClass, Map<String,Object> params, UploadFileWrapper uploadFileWrapper, boolean... isTargetBeanAsList) {
httpMaster.uploadOneFileAndData(executor,requestCode,serviceClass,methodName,convertedClass,params,uploadFileWrapper,isTargetBeanAsList);
}

@Override
public <T, K> void uploadFilesAndData(View executor, int requestCode, Class<T> serviceClass, String methodName, Class<K> convertedClass, Map<String, String> params, List<UploadFileWrapper> uploadFileWrappers, boolean... isTargetBeanAsList) {
public <T, K> void uploadFilesAndData(View executor, int requestCode, Class<T> serviceClass, String methodName, Class<K> convertedClass, Map<String,Object> params, List<UploadFileWrapper> uploadFileWrappers, boolean... isTargetBeanAsList) {
httpMaster.uploadFilesAndData(executor,requestCode,serviceClass,methodName,convertedClass,params,uploadFileWrappers,isTargetBeanAsList);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,12 @@ public void downloadFile(View executor, int requestCode, String fileUrl) {
}

@Override
public <T, K> void uploadOneFileAndData(View executor, int requestCode, Class<T> serviceClass, String methodName, Class<K> convertedClass, Map<String, String> params, UploadFileWrapper uploadFileWrapper, boolean... isTargetBeanAsList) {
public <T, K> void uploadOneFileAndData(View executor, int requestCode, Class<T> serviceClass, String methodName, Class<K> convertedClass, Map<String,Object> params, UploadFileWrapper uploadFileWrapper, boolean... isTargetBeanAsList) {
httpMaster.uploadOneFileAndData(executor,requestCode,serviceClass,methodName,convertedClass,params,uploadFileWrapper,isTargetBeanAsList);
}

@Override
public <T, K> void uploadFilesAndData(View executor, int requestCode, Class<T> serviceClass, String methodName, Class<K> convertedClass, Map<String, String> params, List<UploadFileWrapper> uploadFileWrappers, boolean... isTargetBeanAsList) {
public <T, K> void uploadFilesAndData(View executor, int requestCode, Class<T> serviceClass, String methodName, Class<K> convertedClass, Map<String,Object> params, List<UploadFileWrapper> uploadFileWrappers, boolean... isTargetBeanAsList) {
httpMaster.uploadFilesAndData(executor,requestCode,serviceClass,methodName,convertedClass,params,uploadFileWrappers,isTargetBeanAsList);
}

Expand Down

0 comments on commit 4e3e860

Please sign in to comment.