/// <summary> /// 检查此商品是否可购买 /// </summary> /// <param name="ownerId"></param> /// <param name="apId"></param> /// <returns></returns> public async Task <OperationResult <ShareBargainBaseResult> > CheckBargainProductStatusAsync(Guid ownerId, int apId, string pid, string deviceId = default(string)) { if (ownerId == Guid.Empty || apId < 0) { return(OperationResult.FromError <ShareBargainBaseResult>(ErrorCode.ParameterError, "参数不正确")); } //检查商品是否可购买 var result = await BargainManager.CheckBargainProductStatus(ownerId, apId, pid, deviceId); return(OperationResult.FromResult(result)); }