コード例 #1
0
        /// <summary>
        /// 拼团过期
        /// </summary>
        /// <param name="GroupId"></param>
        /// <returns></returns>
        public async Task <OperationResult <VerificationResultModel> > ExpireGroupBuyingAsync(Guid GroupId)
        {
            if (GroupId == Guid.Empty)
            {
                return(OperationResult.FromError <VerificationResultModel>(ErrorCode.ParameterError, "参数不正确"));
            }

            var result = await GroupBuyingManager.ExpireGroupBuying(GroupId);

            return(OperationResult.FromResult(result));
        }