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