postUserSystemAchieveInfo static method

Future<DataResult> postUserSystemAchieveInfo({
  1. required int serialNum,
  2. required String type,
})

用户体系设置成就详情

Implementation

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