コード例 #1
0
        public string GetAllRoomInfo()
        {
            if (headerCheck.CheckSoapHeader(myHeader, true))
            {
                IMobileAppDataObtianProxy obtainProxy = new MobileAppDataWCFProxy(myHeader.SchoolNum);
                string r = obtainProxy.GetAllRoomInfo();
                obtainProxy.Dispose();
                return(r);
            }
            AJM_HandleResult result = new AJM_HandleResult();

            result.Result = false;
            result.Msg    = "权限验证失败!";
            return(JSONSerializer.Serialize(result));
        }