/// <summary> /// 获取商品赠品 /// </summary> /// <param name="itemId"></param> /// <returns></returns> public IEnumerable <ItemGifts> GetItemGiftsByItemId(int itemId) { if (itemId <= 0) { return(null); } var result = _dal.GetItemGiftsByItemId(itemId); return(result); }