예제 #1
0
        public ActionResult Test()
        {
            WeiXinPublic wxPublic = new WeiXinPublic();

            wxPublic.WxPushMessage("oM9lvxHnTVhtS7qsKpPIbVLMfi1s", "您好,您有一条新的看房预约消息。",
                                   "-" + "-"
                                   , " ", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "", "http://www.zhujia001.com/Esf/Bespoke?houseid=1");

            return(Content("Okay"));
            //string cookie = Loginer_Xms.Login("18030278595", "123456");
            //byte tradeType = 1;
            //int buildingType = 1;
            //int size = 30;
            //var houses = Lister_Xms.GetHouseDetails(tradeType, buildingType, cookie, size);
            //return Content(houses.ToString());
        }
예제 #2
0
 public EasyJobController()
 {
     weiXinPublic = WeiXinController.weiXinPublic;
 }