package com.wd.workoffice.retrofit;

import org.greenrobot.eventbus.EventBus;

import flexible.xd.android_base.model.event.LoginEvent;
import flexible.xd.android_base.network.rtfhttp.observer.ISubscriber;
import io.reactivex.Observer;

public abstract class WorkObserver<T> extends flexible.xd.android_base.network.rtfhttp.observer.BaseObserver<T> implements Observer<T>, ISubscriber<T> {
    @Override
    public void network401() {
        EventBus.getDefault().post(new LoginEvent());
    }
}
