| | |
| | | //上传后的id |
| | | String postId; |
| | | //上传后的地址 |
| | | String webPath; |
| | | // String webPath; |
| | | //上传后返回的文件在服务端存储相对路径 |
| | | String uoloadFilePath; |
| | | //上传后的哈希值 |
| | | int hash; |
| | | //上传后的缩略图 |
| | | String webPathZip; |
| | | |
| | | //当前请求 |
| | | Call<BaseResponse> thisCall; |
| | | Call<BaseResponse<UploadFileResult>> thisCall; |
| | | //图片上传进度 |
| | | int progress; |
| | | //adapter中的position |
| | |
| | | int uploadType; |
| | | //扩展名 |
| | | String extName; |
| | | |
| | | public String getUoloadFilePath() { |
| | | return uoloadFilePath; |
| | | } |
| | | |
| | | public void setUoloadFilePath(String uoloadFilePath) { |
| | | this.uoloadFilePath = uoloadFilePath; |
| | | } |
| | | |
| | | public int getHash() { |
| | | return hash; |
| | | } |
| | | |
| | | public void setHash(int hash) { |
| | | this.hash = hash; |
| | | } |
| | | |
| | | public String getWebPathZip() { |
| | | return webPathZip; |
| | | } |
| | | |
| | | public void setWebPathZip(String webPathZip) { |
| | | this.webPathZip = webPathZip; |
| | | } |
| | | |
| | | public String getExtName() { |
| | | return extName; |
| | |
| | | } |
| | | |
| | | |
| | | public Call<BaseResponse> getThisCall() { |
| | | public Call<BaseResponse<UploadFileResult>> getThisCall() { |
| | | return thisCall; |
| | | } |
| | | |
| | | public void setThisCall(Call<BaseResponse> thisCall) { |
| | | public void setThisCall(Call<BaseResponse<UploadFileResult>> thisCall) { |
| | | this.thisCall = thisCall; |
| | | } |
| | | |
| | |
| | | this.postId = postId; |
| | | } |
| | | |
| | | public String getWebPath() { |
| | | return webPath; |
| | | } |
| | | |
| | | public void setWebPath(String webPath) { |
| | | this.webPath = webPath; |
| | | } |
| | | } |