Example #1
0
        ///获取在线客服信息
        public string GetCustomOnlineInfo()
        {
            string           ssa = "";
            CustomOnlineJson yes = new CustomOnlineJson();

            yes = Senparc.Weixin.MP.AdvancedAPIs.CustomServiceApi.GetCustomOnlineInfo(stoce());
            List <CustomOnlineJson> lists = new List <CustomOnlineJson>();


            for (int b = 0; b < yes.kf_online_list.Count; b++)
            {
                for (int a = 0; a < b; a++)
                {
                    lists.Add(yes);
                }
                ssa += yes.kf_online_list[b].kf_account + "/";
            }
            return(ssa);
        }
Example #2
0
        public string Zaixian()
        {
            CustomOnlineJson yes = new CustomOnlineJson();

            yes = Senparc.Weixin.MP.AdvancedAPIs.CustomServiceApi.GetCustomOnlineInfo(stoce());
            string str = "";
            List <CustomOnlineJson> lists = new List <CustomOnlineJson>();

            for (int b = 0; b < yes.kf_online_list.Count; b++)
            {
                //for (int a = 0; a < b; a++)
                //{
                //    lists.Add(yes);
                //}
                str += yes.kf_online_list[b].kf_account + "/";
            }

            return(str);
        }