liujiangyao il y a 8 ans
Parent
commit
e5f5e9ad23
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      app/src/main/java/com/sheep/jiuyan/samllsheep/SheepApp.java

+ 2 - 1
app/src/main/java/com/sheep/jiuyan/samllsheep/SheepApp.java

@@ -13,6 +13,7 @@ import com.sheep.gamegroup.di.modules.NetModule;
 import com.sheep.gamegroup.model.entity.TaskEty;
 import com.sheep.gamegroup.model.entity.TaskEty;
 import com.sheep.gamegroup.util.ConnectAddress;
 import com.sheep.gamegroup.util.ConnectAddress;
 import com.sheep.gamegroup.util.Jump2View;
 import com.sheep.gamegroup.util.Jump2View;
+import com.sheep.gamegroup.util.MyDbManager;
 import com.sheep.gamegroup.util.UMConfigUtils;
 import com.sheep.gamegroup.util.UMConfigUtils;
 import com.sheep.jiuyan.samllsheep.utils.G;
 import com.sheep.jiuyan.samllsheep.utils.G;
 import com.tencent.bugly.Bugly;
 import com.tencent.bugly.Bugly;
@@ -32,7 +33,7 @@ public class SheepApp extends BaseApplication {
     private TaskEty taskEty;
     private TaskEty taskEty;
 
 
     public TaskEty getTaskEty() {
     public TaskEty getTaskEty() {
-        return taskEty;
+        return MyDbManager.getInstance().dbFindTask();
     }
     }
 
 
     public void setTaskEty(TaskEty taskEty) {
     public void setTaskEty(TaskEty taskEty) {