getReportUser static method
v2 获取拉黑状态
Implementation
static Future<DataResult> getReportUser(String? userId) async {
Map other = {'userId': userId};
var res = await BaseDao.fromBaseEncrypt(other, Address.getReportUser());
if (res.result) {
var entity = TokenEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}