Ejemplo n.º 1
0
        public HttpResponseMessage SomeWechatQR(string doorIds)
        {
            Handle handle = new Handle();
            var    msg    = handle.ParallelSomeDoorImg(doorIds);

            return(AboutHttp.ToJson(new
            {
                Code = msg == null ? 500 : 200,
                Info = msg == null ? "操作成功" : "操作成功",
                Data = msg
            }));
        }
Ejemplo n.º 2
0
        public HttpResponseMessage WechatQROfCommunity(int id)
        {
            Handle handle = new Handle();
            var    msg    = handle.OneCommunity(id);

            return(AboutHttp.ToJson(new
            {
                Code = msg == null ? 500 : 200,
                Info = msg == null ? "社区不存在" : "操作成功",
                Data = msg
            }));
        }
Ejemplo n.º 3
0
        public HttpResponseMessage WechatQRListOfCommunity(int id)
        {
            Handle handle = new Handle();
            var    msg    = handle.ParallelDoorImgList(id);

            return(AboutHttp.ToJson(new
            {
                Code = msg == null ? 500 : 200,
                Info = msg == null ? "没有门" : "操作成功",
                Data = msg
            }));
        }