Commit 2992266c authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 6194a20b
...@@ -16,6 +16,8 @@ public class UserTaskMsgBean implements Serializable { ...@@ -16,6 +16,8 @@ public class UserTaskMsgBean implements Serializable {
private FlowAdRulesBean flowAdRules; private FlowAdRulesBean flowAdRules;
private HighRatePlanBean highRatePlan; private HighRatePlanBean highRatePlan;
private String ip; private String ip;
private String channel; private String channel;
......
...@@ -9,6 +9,7 @@ import com.mints.goodmoney.common.AppConfig; ...@@ -9,6 +9,7 @@ import com.mints.goodmoney.common.AppConfig;
import com.mints.goodmoney.common.Constant; import com.mints.goodmoney.common.Constant;
import com.mints.goodmoney.common.DeviceInfo; import com.mints.goodmoney.common.DeviceInfo;
import com.mints.goodmoney.manager.AppHttpManager; import com.mints.goodmoney.manager.AppHttpManager;
import com.mints.goodmoney.manager.CsjGroMoreManager;
import com.mints.goodmoney.manager.SimulatorManager; import com.mints.goodmoney.manager.SimulatorManager;
import com.mints.goodmoney.manager.UserWeight; import com.mints.goodmoney.manager.UserWeight;
import com.mints.goodmoney.mvp.model.BaseResponse; import com.mints.goodmoney.mvp.model.BaseResponse;
...@@ -334,6 +335,7 @@ public class TrackPresenter extends BaseTrackPresenter { ...@@ -334,6 +335,7 @@ public class TrackPresenter extends BaseTrackPresenter {
@Override @Override
public void onNext(BaseResponse<UserTaskMsgBean> baseResponse) { public void onNext(BaseResponse<UserTaskMsgBean> baseResponse) {
UserWeight.INSTANCE.initAdWeight(baseResponse.getData()); UserWeight.INSTANCE.initAdWeight(baseResponse.getData());
CsjGroMoreManager.INSTANCE.updataIdByChannel(baseResponse.getData().getGromoreAdcodes());
} }
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment