anchorReport static method
zb举报
Implementation
static Future<DataResult> anchorReport(
String? id, String? content, String? block) async {
Map other = {'id': id, 'block': block, 'content': content ?? ''};
var res = await BaseDao.fromBaseJson(other, Address.anchorReport());
if (res.result) {
var entity = TokenEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}