Esempio n. 1
0
        public void Test_AddMblog()
        {
            string res = ComHttpWork.AddMblog(CurrLoginUserLogin.Web, "d:/p/1.jpg", "今天天气晴朗_带了一张图片");

            Console.WriteLine(res);
        }//发表微博
Esempio n. 2
0
        public void Test_SendMsg_SigPic()
        {
            string res = ComHttpWork.SendMsg(CurrLoginUserLogin, "d:/p/1.jpg", "今天天气晴朗_单张图片内容");

            Console.WriteLine(res);
        }//发布文字信息与单张图片内容
Esempio n. 3
0
        public void Test_SendMsg()
        {
            string res = ComHttpWork.SendMsg(CurrLoginUserLogin, "今天天气晴朗_只发布文字信息内容");

            Console.WriteLine(res);
        }//只发布文字信息内容
Esempio n. 4
0
        public void Test_SendMsg_MulPic()
        {
            string res = ComHttpWork.SendMsg(CurrLoginUserLogin, new[] { "d:/p/1.jpg", "d:/p/2.jpg" }, "今天天气晴朗_多张图片内容");

            Console.WriteLine(res);
        }//发布文字信息与多张图片内容
Esempio n. 5
0
        public void Test_FriendDestroy()
        {
            string res = ComHttpWork.FriendDestroy(CurrLoginUserLogin.Web, "5171491789");

            Console.WriteLine(res);
        }//取消关注