/// <summary> /// 获取用户该活动商品下的砍价记录 /// </summary> /// <param name="userId"></param> /// <param name="activityProductId"></param> /// <returns></returns> public async Task <OperationResult <BargainProductHistory> > FetchBargainProductHistoryAsync(Guid userId, int activityProductId, string pid) { if (userId == Guid.Empty || activityProductId < 0) { return(OperationResult.FromError <BargainProductHistory>(ErrorCode.ParameterError, "参数不正确")); } var result = await BargainManager.FetchBargainProductHistory(userId, activityProductId, pid); return(OperationResult.FromResult(result)); }