Exemple #1
0
        public static int QueryMaxIdByOpenId(string openId)
        {
            if (string.IsNullOrWhiteSpace(openId))
            {
                throw new ArgumentNullException("openId");
            }

            IWXInteractionInfo factory = WXInteractionInfoFactory.GetFactory();

            return(factory.QueryMaxIdByOpenId(openId));
        }
Exemple #2
0
        public static bool Add(WX_InteractionInfo model)
        {
            if (model == null)
            {
                throw new ArgumentNullException("model");
            }

            IWXInteractionInfo factory = WXInteractionInfoFactory.GetFactory();

            return(factory.Add(model));
        }