matchSuccess static method
匹配成功开始
Implementation
static Future<DataResult> matchSuccess(String? anchorId, String callId,
String? channelId, List? costInfo) async {
Map other = {
'userId': anchorId,
'callId': callId,
'houseId': channelId,
'costInfo': costInfo
};
var res = await BaseDao.fromBaseJson(other, VideoUrl.matchSuccess());
if (res.result) {
var entity = VideoEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}