callFail static method
通话上报
Implementation
static Future<DataResult> callFail(String? userId, String callId, String type,
{String? net}) async {
Map other = {
'userId': userId,
'callId': callId,
'type': type,
'network': net
};
var res = await BaseDao.fromBaseEncrypt(other, VideoUrl.callFail());
if (res.result) {
var entity = VideoEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}