anchorInfo static method

Future<DataResult> anchorInfo(
  1. String? id
)

获取zb信息

Implementation

static Future<DataResult> anchorInfo(String? id) async {
  Map other = {'id': id};
  var res = await BaseDao.fromBaseEncrypt(other, Address.anchorInfo());
  if (res.result) {
    var entity = AnchorEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}