|
|
@@ -32,9 +32,11 @@ import com.sheep.gamegroup.di.components.DaggerTaskDetailComponent;
|
|
|
import com.sheep.gamegroup.di.modules.TaskDetailModule;
|
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
|
import com.sheep.gamegroup.model.entity.DialogEntity;
|
|
|
+import com.sheep.gamegroup.model.entity.Ext;
|
|
|
import com.sheep.gamegroup.model.entity.TaskAcceptedEty;
|
|
|
import com.sheep.gamegroup.model.entity.TaskEty;
|
|
|
import com.sheep.gamegroup.model.entity.TaskReleaseEty;
|
|
|
+import com.sheep.gamegroup.model.util.EntityUtils;
|
|
|
import com.sheep.gamegroup.model.util.SheepSubscriber;
|
|
|
import com.sheep.gamegroup.presenter.TaskDetailContract;
|
|
|
import com.sheep.gamegroup.presenter.TaskDetailPresenter;
|
|
|
@@ -434,11 +436,12 @@ public class TaskDetailAct extends AbsChooseImageActivity implements TaskDetailC
|
|
|
PackageUtil.startApp(SheepApp.mContext, taskEty.getPackage_names());
|
|
|
break;
|
|
|
case 10:
|
|
|
- if(taskEty == null || taskEty.getExtInfo() == null || TextUtils.isEmpty(taskEty.getExtInfo().getUrl())){
|
|
|
+ Ext ext;
|
|
|
+ if(taskEty == null || (ext = EntityUtils.getExtInfo(taskEty.getExt())) == null || TextUtils.isEmpty(ext.getUrl())){
|
|
|
G.showToast("服务器数据错误,请联系客服或者稍候重试");
|
|
|
} else {
|
|
|
Jump2View.getInstance()
|
|
|
- .goWeb(activity, taskEty.getExtInfo().getUrl(), taskEty.getTask_name());
|
|
|
+ .goWeb(activity, ext.getUrl(), taskEty.getTask_name());
|
|
|
}
|
|
|
break;
|
|
|
}
|