findWithdrawPassword static method

dynamic findWithdrawPassword(
  1. Map<String, dynamic> obj,
  2. dynamic callBack
)

@Author: yuer @description: "phone":"123456", //手机 "smsCode": "897654", //验证码 @return {*}

Implementation

static findWithdrawPassword(Map<String, dynamic> obj, callBack) {
  DioManager().request<dynamic>(RequestType.POST, RequestApi.apiFindWithdrawPassword, params: obj, onSuccess: (data) {
    callBack(data);
    // onSuccess
  }, onError: (error) {
    // when called , already show toast, then do another things
  }, onStart: () {
    // onStart
  }, onFinish: () {
    // onFinish
  });
}