Exemplo n.º 1
0
        private void Btn_foiiow_Click(object sender, EventArgs e)
        {
            Facade.CommonFacade commonFacade = new Facade.CommonFacade();

            Models.Request.ForkOfficialAccount fork = new ForkOfficialAccount();
            fork.WxId  = this.lb_Wxid.Text;
            fork.AppId = this.tb_APPID.Text;
            string json = string.Empty;

            if (!commonFacade.ForkOfficialAccountMessage(ref json, fork))
            {
                Log(commonFacade.Msg);
                return;
            }

            Log(json);
        }
Exemplo n.º 2
0
        private void Btn_Sync_Click(object sender, EventArgs e)
        {
            Facade.CommonFacade commonFacade = new Facade.CommonFacade();
            string Wwid = this.lb_Wxid.Text;

            Models.Request.InitUser initUser = new InitUser();

            string json = string.Empty;

            if (!commonFacade.SyncMessage(ref json, Wwid))
            {
                Log(commonFacade.Msg);
                return;
            }

            Log(json);
        }