From 6a44973461e2a91f62f7eed681b4db3abb026289 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 24 十二月 2024 16:52:23 +0800
Subject: [PATCH] 1.优化地图相关代码,提高运行效率和可读性。 2.添加修改密码功能。 3.优化列表和详情页展示。
---
app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java | 46 +++++++++++++++++++++++++++++++---------------
1 files changed, 31 insertions(+), 15 deletions(-)
diff --git a/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java b/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java
index 17ec2bf..2980e4b 100644
--- a/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java
+++ b/app/src/main/java/com/dayu/pipirrapp/bean/net/UplodFileState.java
@@ -1,6 +1,8 @@
package com.dayu.pipirrapp.bean.net;
-import java.io.File;
+import com.dayu.pipirrapp.net.BaseResponse;
+
+import retrofit2.Call;
/**
* Copyright (C), 2023,
@@ -10,9 +12,19 @@
*/
public class UplodFileState {
int state = 0;//0姝e湪涓婁紶 1涓婁紶瀹屾垚 2涓婁紶澶辫触
- File file;//涓婁紶鐨勬枃浠�
- String url;//涓婁紶鏂囦欢鍚庤繑鍥炵殑url
+ String filePath;//涓婁紶鐨勬枃浠�
int number;//澶辫触鍚庨噸璇曠殑娆℃暟
+ String id;//涓婁紶鍚庣殑id
+ String webPath;//涓婁紶鍚庣殑鍦板潃
+ Call<BaseResponse> thisCall;//褰撳墠璇锋眰
+
+ public Call<BaseResponse> getThisCall() {
+ return thisCall;
+ }
+
+ public void setThisCall(Call<BaseResponse> thisCall) {
+ this.thisCall = thisCall;
+ }
public int getNumber() {
return number;
@@ -26,10 +38,6 @@
}
- public UplodFileState(File file) {
- this.file = file;
- }
-
public int getState() {
return state;
}
@@ -38,19 +46,27 @@
this.state = state;
}
- public File getFile() {
- return file;
+ public String getFilePath() {
+ return filePath;
}
- public void setFile(File file) {
- this.file = file;
+ public void setFilePath(String filePath) {
+ this.filePath = filePath;
}
- public String getUrl() {
- return url;
+ public String getId() {
+ return id;
}
- public void setUrl(String url) {
- this.url = url;
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ public String getWebPath() {
+ return webPath;
+ }
+
+ public void setWebPath(String webPath) {
+ this.webPath = webPath;
}
}
--
Gitblit v1.8.0