/// <summary>
        /// 用户创建并砍价(CreateUserBargainAsync)
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="apId"></param>
        /// <param name="pid"></param>
        /// <returns></returns>
        public async Task <OperationResult <CreateBargainResult> > CreateserBargainAsync(Guid userId, int apId, string pid)
        {
            if (userId == Guid.Empty || apId < 1 || string.IsNullOrWhiteSpace(pid))
            {
                return(OperationResult.FromError <CreateBargainResult>(ErrorCode.ParameterError, "参数不正确"));
            }

            var result = await BargainManager.CreateUserBargain(userId, apId, pid);

            return(OperationResult.FromResult(result));
        }