anchorInfoV3 static method

Future<DataResult> anchorInfoV3(
  1. int anchorUserId
)

获取zb信息

Implementation

static Future<DataResult> anchorInfoV3(int anchorUserId) async {
  var res = await BaseDao.fromBaseEncryptV3({}, Address.anchorInfoV3(),
      post: false, queryParameters: {'anchorUserId': anchorUserId});
  if (res.result) {
    var entity = AnchorEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}