c74f185e8df13b3a127cf50bab31f7b6d558db0a.svn-base 669 B

123456789101112131415161718192021222324252627282930313233
  1. package eVVM.apk.ui.login.register;
  2. import eVVM.apk.mvp.IMvpView;
  3. import eVVM.apk.ui.bean.VerificationCodeBean;
  4. /**
  5. * Created by Android Studio.
  6. * User: zbb
  7. * Date: 2019/6/1
  8. * Describe: RegisterContract
  9. */
  10. public class RegisterContract {
  11. public interface View extends IMvpView {
  12. void registerError(String msg);
  13. void registerSuccess(VerificationCodeBean data);
  14. void getCodeError(String msg);
  15. void getCodeSuccess(VerificationCodeBean codeData);
  16. }
  17. public interface Presenter {
  18. void register(String telephone, String password, String code);
  19. void getCode(String telephone, int type); //
  20. }
  21. }