setUserSystemHead static method

Future<DataResult> setUserSystemHead({
  1. required int headFrameId,
})

用户体系设置用户头像框

Implementation

static Future<DataResult> setUserSystemHead(
    {required int headFrameId}) async {
  var res = await BaseDao.fromBaseEncryptV3(
    {'headFrameId': headFrameId},
    Address.getUserSystemSetHead(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}