verifyCodeCheck static method
验证验证码
Implementation
static Future<DataResult> verifyCodeCheck(String? email, String? code) async {
Map other = {'email': email, 'verifyCode': code};
var res = await BaseDao.fromBaseJson(other, Address.verifyCodeCheck());
if (res.result) {
var entity = TokenEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}