guilin 1 month ago
parent
commit
08e26cb755

+ 1 - 1
app/src/main/java/com/fxy/common/AsyncFileUpload.java

@@ -365,7 +365,7 @@ public class AsyncFileUpload {
             int pushStatus = 2;
             int pushStatus = 2;
             int rePush = myObject.getRePush();
             int rePush = myObject.getRePush();
             if (status==0){
             if (status==0){
-                pushStatus = rePush>4 ? 1 : 0;
+                pushStatus = rePush>20 ? 1 : 0;
             }
             }
 
 
             if (myObject.getPushStatus()!=3){
             if (myObject.getPushStatus()!=3){

+ 1 - 5
app/src/main/java/com/fxy/common/AsyncPictureUpload.java

@@ -403,10 +403,6 @@ public class AsyncPictureUpload {
             awaitUploadList.addAll(realmResults);
             awaitUploadList.addAll(realmResults);
         }
         }
 
 
-        //@todo
-        if (awaitUploadList.size()==0){
-            tmpData();
-        }
 
 
 
 
         if (awaitUploadList.size()>0){
         if (awaitUploadList.size()>0){
@@ -570,7 +566,7 @@ public class AsyncPictureUpload {
             int rePush = myObject.getRePush();
             int rePush = myObject.getRePush();
             int pushStatus = 2;
             int pushStatus = 2;
             if (status==0){
             if (status==0){
-                pushStatus = rePush>4 ? 1 : 0;
+                pushStatus = rePush>20 ? 1 : 0;
             }
             }
 
 
             if (myObject.getPushStatus()!=3){
             if (myObject.getPushStatus()!=3){

+ 4 - 4
app/src/main/java/com/fxy/main/fragment/MineFragment.java

@@ -331,10 +331,10 @@ public class MineFragment extends BaseFragment {
                 if (total>0){
                 if (total>0){
                     uploadDialog.pictureStartUpload();
                     uploadDialog.pictureStartUpload();
                 }else{
                 }else{
-
-                    uploadDialog.setDebug(true);
-                    uploadDialog.pictureStartUpload();
-//                    showToast("已全部上传");
+//
+//                    uploadDialog.setDebug(true);
+//                    uploadDialog.pictureStartUpload();
+                    showToast("已全部上传");
                 }
                 }