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