verifySmsCode method
验证验证码
phone
手机号(必填)
captcha
手机号(必填)
ctcode
国家代码(可选,默认为 '86')
Implementation
Future<BoolEntity?> verifySmsCode({
required String phone,
required String captcha,
String ctcode = '86',
}) async {
final data = {
'cellphone': phone,
'captcha': captcha,
'ctcode': ctcode,
};
return await BujuanMusicManager()
.post<BoolEntity>(url: Api.verifySmsCode, options: createOption(), data: data);
}