Exemplo n.º 1
0
        public static string RunPosterContainerHeaderHavaParam(string url, string head, string json, CookieContainer cookie = null)
        {
            HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(url);

            request.Method = "POST";
            if (cookie != null)
            {
                request.CookieContainer = cookie;
            }
            HttpContent content = new StringContent(json, Encoding.UTF8, "application/json");

            byte[] jsonStream = Encoding.UTF8.GetBytes(json);
            request.ContentLength = jsonStream.Length;
            using (Stream requestSt = request.GetRequestStream())
            { //进行请求时的流信息
                requestSt.Write(jsonStream, 0, jsonStream.Length);
                requestSt.Close();
            }
            FillHttpWebRequestHead(request, head);
            WebResponse  response = request.GetResponse();
            Stream       st       = response.GetResponseStream();
            StreamReader sr       = new StreamReader(st, Encoding.UTF8);
            string       text     = sr.ReadToEnd();

            sr.Close();
            response.Close();
            string dir = ConfigItem.LoggerDefaultDir;

            if (string.IsNullOrEmpty(dir))
            {
                dir = NowAppDirHelper.GetNowAppDir(AppCategory.WinApp);
            }
            LoggerWriter.CreateLogFile(text, dir, ELogType.SessionOrCookieLog);
            return(text);
        }
Exemplo n.º 2
0
        void QueryTicket()
        {
            #region--参数检测
            rtbTip.Text = string.Empty;
            ResourceManager rm = Lang.ResourceManager;
            List<string> nullItem = new List<string>();
            if (string.IsNullOrEmpty(ticketParam.from_station))
            {
                nullItem.Add(rm.GetString(langTipFix + cmbBeginStation.Tag));
            }
            if (string.IsNullOrEmpty(ticketParam.to_station))
            {
                nullItem.Add(rm.GetString(langTipFix + cmbToStation.Tag));
            }
            if (nullItem.Count > 0)
            {
                List<string> requireItem = new List<string>();
                requireItem.Add(rm.GetString(langTipFix + cmbBeginStation.Tag));
                requireItem.Add(rm.GetString(langTipFix + cmbToStation.Tag));
                rtbTip.Text = string.Format(Lang.Tip_12306_QueryTicketIsRequired, string.Join(",", requireItem), string.Join(",", nullItem));
                return;
            }
            #endregion
            string url = InitQueryTicketParam(ticketParam);
            string json = HttpClientExtend.HttpClientGet(url);
            LoggerWriter.CreateLogFile(json, LogDir, ELogType.DataLog, DateTime.Now.ToString(CommonFormat.DateTimeIntFormat) + ".txt");
            leftTicketDTOResponse response = json.ConvertObject<leftTicketDTOResponse>();//不能序列化字典
            JObject jr = JObject.Parse(json);
            JObject jd = (JObject)jr["data"];//字典为data下数据  map
            //由于json序列化时不能将节点下的字典型json串进行逆序列化,次出使用中转形式先读取取字典内容,在填充到对象
            JObject jdic = (JObject)jd["map"];
            Dictionary<string, string> _Data = Newtonsoft.Json.JsonConvert.DeserializeObject<Dictionary<string, string>>(jdic.ToString());
            if (response != null && response.data != null)
            {
                response.data.map = _Data;
            }
            //leftTicketDTOResponse responseNew= Newtonsoft.Json.JsonConvert.DeserializeObject<leftTicketDTOResponse>(json);
            /*
             * Newtonsoft
             其他信息: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.String[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
             */
            foreach (var item in response.data.result)
            {
                GetCarTicket(item, response);
            }
            //存储列车座位信息
            //反射时构造函数没有提供参数可以进行创建
            ISyncTicketDataManage sync = IocHelper.CreateObjectCtorWithParam<ISyncTicketDataManage>(
                new object[]{AppCategory.WinApp,"Conn" },
                typeof(SyncTicketDataManage).Name,
                "TicketData.Manage",
                "CaptureManage.AppWin",//此为程序集,而不是命名空间
                NowAppDirHelper.GetNowAppDir(AppCategory.WinApp));
             
            //由于实现类中对于构造函数存在参数限定,此处需要特殊参数的传递
            sync.SaveCarWithSeatData(response);
            //读取列车过站信息
            //存储列车过站信息,绘制运动轨迹图

        }
Exemplo n.º 3
0
 void ReadAppCfg() 
 {
     string cfgDir = NowAppDirHelper.GetNowAppDir(AppCategory.WinApp);
     string file = TicketAppConfig.Ticket12306CfgReletive;//相对路径名称
     configDict = XmlFileHelper.ReadAppsettingSimulateConfig(cfgDir + "/" + file, "configuration/appSettings", "key", "value");
     Dictionary<string, string> brushCfg = XmlFileHelper.ReadXmlNodeItemInText(cfgDir + "/" + TicketAppConfig.BrushTicketCfg, "ticket");
 }
Exemplo n.º 4
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public static Dictionary <string, string> GetWebChatCfg()
        {
            string releative = ConfigurationManager.AppSettings["WebChatConfigDir"];
            string rootName  = ConfigurationManager.AppSettings["WebChatConfigRootName"];

            return(XmlFileHelper.ReadAppsettingSimulateConfig(NowAppDirHelper.GetNowAppDir(AppCategory.WinApp) + "/" + releative, rootName, "key", "value"));
        }
Exemplo n.º 5
0
        int DownLoadImageSize()
        {
            GatherUinImage guin  = new GatherUinImage();
            bool           isZip = true;

            if (rbOrigin.Checked)
            {
                isZip = false;
            }
            List <string> dirs = guin.DownLoadImage(isZip);

            if (dirs.Count > 0)
            {
                LoggerWriter.CreateLogFile("Rows:" + dirs.Count + "\r\n" + string.Join("\r\n", dirs),
                                           NowAppDirHelper.GetNowAppDir(AppCategory.WinApp) + "/" + AppCategory.WinApp.ToString(), ELogType.DebugData);
            }
            int gather = dirs.Count;

            if (gather > 0)
            {//如果本次操作有图片进行下载,则删除轮询调度作业,直接使用while去查找,避免出现锁死的现象
                (new QuartzJob()).DeleteJob <JobDelegateFunction>();
                DownLoadImageSize();
            }
            return(gather);
        }
Exemplo n.º 6
0
        /// <summary>
        ///使用日志功能【配置文件中OpenLogFun<> true则不写日志】
        /// </summary>
        /// <param name="msg"></param>
        /// <param name="logType"></param>
        public static void CreateLog(this string msg, ELogType logType)
        {
            string cfg = ConfigurationManager.AppSettings["OpenLogFun"];

            if (cfg != "true")
            {
                return;
            }
            //加上日期戳
            string week = Logger.GetWeekIndex();

            LoggerWriter.CreateLogFile(msg, NowAppDirHelper.GetNowAppDir(AppCategory.WinApp) + "/" + week + "/" + logType, logType);
        }
Exemplo n.º 7
0
        private void QueryHtmlData(object response)
        {
            HtmlItem html = response as HtmlItem;

            if (html == null)
            {
                return;
            }
            lstData.Items.Add(html.Url);
            LoggerWriter.CreateLogFile(html.Html, NowAppDirHelper.GetNowAppDir(AppCategory.WinApp) + "/" + ELogType.HttpResponse.ToString() + "/" + html.Domain, ELogType.HttpResponse);
            //提取索引页码
            //使用xpath <B class=ui-page-s-len>2/100</B>
            Regex           reg = new Regex("<B class=ui-page-s-len>(.+)</B>");//提取符合要求的一段文本
            GroupCollection gc  = reg.Match(html.Html).Groups;

            if (gc.Count <= 1)
            {//第一项为匹配的完整串,第二项为标签内的文本  [2/100]
                return;
            }
            string htmlEle = gc[0].Value; //提取匹配的标签
            Group  g       = gc[1];
            string value   = g.Value;     //提取标签内的内容

            string[] pageInfo = value.Split('/');
            if (pageInfo.Length < 2)
            {
                return;
            }
            int numerator = -1, denominator = -1;

            int.TryParse(pageInfo[0], out numerator);
            if (!int.TryParse(pageInfo[1], out denominator))
            {//转换失败时 设置 参数为-1 避免出现分母为0的情形
                denominator = -1;
            }
            if (numerator >= denominator)
            { //不是查询到尾页
                return;
            }
            numerator++;
            string url = "https://list.tmall.com/search_product.htm?spm=a220m.1000858.1000724.10.4f506713HbGUt4&s={page}&q=%C3%AB%D2%C2&sort=s&style=g&from=mallfp..pc_1_searchbutton&active=2&smAreaId=110106&type=pc#J_Filter";
            // 羽绒服 "https://list.tmall.com/search_product.htm?spm=a220m.1000858.1000724.10.7f5f72ac0cvkWI&s={page}&q=%D3%F0%C8%DE%B7%FE%C4%D0&sort=s&style=g&smAreaId=110106&type=pc";
            int start = numerator * 60;

            url = url.Replace("{page}", start.ToString());
            web.RefreshUrl(url);

            /*
             * js: /<B[^>]*>(.+)<\/B>/
             */
        }
Exemplo n.º 8
0
 void LoadUrlComplateEvent(object data) 
 {
     HtmlItem item = data as HtmlItem;
     if (item != null)
     {
         Init12306Cookie = item;
         string json = item.ConvertJson();
         LoggerWriter.CreateLogFile(json, NowAppDirHelper.GetNowAppDir(AppCategory.WinApp), ELogType.HttpResponse, string.Empty, false, Encoding.UTF8);
     }
     else
     {
         Init12306Cookie = new HtmlItem();
     }
 }
Exemplo n.º 9
0
        //将窗体进行分组
        void InitWinGroup()
        {
            string dir        = NowAppDirHelper.GetNowAppDir(AppCategory.WinApp);
            string winListDir = dir + "/CaptureManage.AppWin.dll";

            Form[] frms    = AssemblyHelp.GetAllType <Form>(winListDir);
            string assName = (new AssemblyInfo()).GetAssemblyName();

            winGroup = new Dictionary <string, List <ClassInfo> >();
            if (frms != null && frms.Length > 0)
            {
                List <ClassInfo> wins = new List <ClassInfo>();
                foreach (Form item in frms)
                {
                    ClassInfo web = new ClassInfo()
                    {
                        ClassName    = item.Name,
                        AssemblyName = assName,
                        Display      = item.Text
                    };
                    wins.Add(web);
                }
                winGroup.Add("News", wins);
                return;
            }
            else
            {
                List <ClassInfo> wins = new List <ClassInfo>();
                ClassInfo        web  = new ClassInfo()
                {
                    ClassName    = typeof(WebDataCaptureForm).Name,
                    AssemblyName = assName,
                    Display      = typeof(WebDataCaptureForm).Name
                };
                wins.Add(web);
                winGroup.Add("News", wins);
            }
        }
Exemplo n.º 10
0
        /// <summary>
        ///可选择提供请求头
        /// </summary>
        /// <param name="url"></param>
        /// <param name="head"></param>
        /// <returns></returns>
        public static string RunPosterContainerHeader(string url, string head, CookieContainer cookie = null)
        {
            HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(url);

            request.Method = "POST";
            if (cookie != null)
            {
                request.CookieContainer = cookie;
            }
            FillHttpWebRequestHead(request, head);
            WebResponse  response = request.GetResponse();
            Stream       st       = response.GetResponseStream();
            Stream       stm      = new System.IO.Compression.GZipStream(response.GetResponseStream(), System.IO.Compression.CompressionMode.Decompress);
            StreamReader sr       = new StreamReader(stm, Encoding.UTF8);

            /* 出现该情况是请求内容为服务器响应请求启用了压缩算法,在接收的时候需要进行解压
             *
             * "�\b\0\0\0\0\0\0�}�wG����+���!�\r�-�6�s�q&�\t˰d�}����e7Hjђ�\t�9�-���\t��@���sK�O�/|u�z����j<3�9/g&����֭�խ�M����m#�X9��l=�G�Ʌ��طc��-1(See�3\t��>��e)3&%�<۵�D_��4V.꾊�0��Į\r�a=_��Z:�Ƥ�^(���idPUFյ�1Cϫ�I���VΩC���K��/,���vjj})�Z)�\b+�W=0�J���A]���֍�ڄV��մ�u���$�R1C��]��~삋\v�����I0b����Z�Z�����1?�~M/�F��ה�ؠ���2j�X+i��ɹD)#�Y#�H%#3��/\r���)���Z��k��y�MޗB��B�Rlh}��VP>PD})��=�~��Ɔ�l�VP��ֲ^l��_%5�m9��ZszF�AB��k�$�LN+�\f57+���f*eI��Ԍjv0��f����\t��r��D*�*mh��'�c[��jδi�Ѷ���_��bVϵ�<��M$p�m�FI[%�[�4K�wL�����}�w�٪�o-F�m�Q�}��+k�c�����[��Ŝ�(��X�݋�D�T>��O��ֲR�,m���!�\f*G�Z�N�ƴ|��!�S�ĺQ��ּƥ���jAѲ����B_����3\"wpOI/tr���\v�G`�Jc�Zn|�2�R[�CU2�LO{���7٩��tu%�3Jo_{_�ڊ��.Y�F������C���e�\\\t��|>!g`;'ʆ��+�'��Q����Ra4|��s9��D7����9����`N�U�J_�?�V\n9}T+��]���I\v\\��%��_�P�#��b�\\@k �\t������%=W)��Kh_�S�e��^.�y􇡍�A��\tľԉ�Drf�����X7����)����>�[�%#m:KF�C,E�g���K�����M�K�w���3O�?�.=Y�=�4�t}\t�Rat���d���0��ڍc�ߦ돧��O��Б����e�n � ��#^O5\at���l���J��|ol�<w�6����x}�<�4��z�am�\fsn�F׷�a9Є����#޴E���l&E��t>�X\n��\f�hh@e���x��vݜ����\t��h_��\t��-�\b��6���\r�F�D��l��o�;�TZ�\b�`�E��32��z�Ƙ���VځHM��;�׆RI�h�,ś��~n�{����d���Ld��Q��'�ªa����DF�BIs��\aq�9�N5CU�Л-��lW�h��M�0�;x���2r���*O����n#$��!���ٿ�Z^�+�B�������J* �tDg���mO^I��jY޼����\"�c|0��\aܻ�K�t\n���!�����Tg�Ⱦ����v�p����x��.�u�hr6�gy�P��������S�~��N�p���4H�.\r��(!/��`Js�\f��)CG˃�A+�Am�\v<��B�+n��w�F�w����\"��Ksgk�o�*�^U/O�c�l��;��9��z�e�\t�Q��D�z=�e��8�y�(��f(#\f 꾶vc��p��h+�@1����6Nƺ8�Quz�:u�<}I]<gQ�b�\r��Ϟ&+Q�����:�B�:���Ja�h��砄���^, �p�d��=s��9���V�]A�G[��u-��o2��\n�J��jFޙ�q�)��ܳ��\"�h��o�\t�9���*H�+H�?���4�_v_�P�}��5��Y��+i�1��\n�H��%&#�>̎I�\t[��������L�Ï���o�^yf.mm�TCdQ�\b\t�D�j{�����G��(�qd.W$�фIc�+�ɶ���6˙�;y��읕�i�������|1���?�\a�rf\r��Ս����l2#3���Ow��f��Q*\"��vȞT��F<�M�@�j|\bZQVR���h��\bc!kd(æ��JF3�(dE��6a(N�\"������zh��OT_��f�U��\fh�S4��oh#�;��xq�Ak׎��Ha4���<�X�ؿ�ٝ���^<�U���\0����@����uR���OJH��^i�ZȨ��2�҆\\N�����*:_����+� _�(8��MJdhy��Cy�?X���\nK7&\r[��\b�;���j��XG�3�V�ѳj�\n9����s�\rC����,�1\f�W�����A�/ôfVg䡏x(yJ�`���KԩM�Q[}uO|��m���r�3�m��A����1�i-�����;�mF�x���\0q��s\vB�h�k%���H]�]��tv�^t���Jh\t������\aJh�cb��g_��(l�g��O{�ܠ��r� ��$�p�|B/���;5��Ѿ��\v-WVA^�m��&Ԏ�o^���.�����6��J��\a&C�7�*o�\b$k��\n�J9�����J)�M�*F\v\f�r��\a��w_>��z~���^|ҡ����ۤ��x��H��9�4b��~��q�|AP�,���B~z@ҹ���nRz�ڌ:���ƭ�9��b�s�,FYN�V{�悞2�zb�{\a�����d\0#B�)|���j1��!N���D\r*霵U쿆�'�\b���O�~��w\r4�Te���=5���\0�Mm�\n�\\u�q�o���>�ԕm��:|�[g��׎�_̇��XI��\t#���Z�(%D\b��\r9�¢��>wp�nԟ�@d������\r<@\v$`I��Ar����MR��Kp�{v\n\"���H��5���,��-��3�\0R�18��rp�V��ZN+�F��b�p0I����8�ǐ9q�1MQ�B|-q�\b��JYG8���PP�P4CE�q�*���'鬵+诃��2�����;��.[hl���Y���oZ��I�g��4@F���;��#\b�Z��q��L��nUԺ+M�e_�=�\a\0g�B���r��P��ފT�BU�s�o\b%�ZM�W\a���RX��S�~=��<��Ί~fs͛K(��v׶���s��h:�j�u-�n.�nC�2�P֘q�U\\��������+��f��Ǫ[h h���'�\01��A�5P�v]G�x>�\"�(n\"�����쫨Ɓj@��|j�s&���3z��E�<��r\0�-c7B��dK��&�I\fA���k�@C��E�s�{�� y�pg��7\n�������8@����Di���z����ٰw�����x�$2\bb%P��\fk\0���v�w0d���JeJ�BD�\vq\f{��\n@�\\�T`���\"��D���Ap<�,Pշ�g�N�_�ؼ���f!X�ؑ�c������5��xWu1�>hءw�&�s���4(Yz�]` �������UB�_�� 0m��޳sl��A��p�����y��*��\f�ʪ3��y׶�:[�\n�\b�b�pS��'�^Q7�s�t����r��E4�%$�ا8��.M���=5���Ӽ�]m߉��\n�=\t��)�İ��$KL���t���}R=z�c��iQ�(�����cG}���Ȝ~����*9f��d(j\fiE��HG0SɃP��L�޵\a?{9�…����Ke�\f��lM������k�\\�������C�-��\a�i�.3�G�V8i^{���\r0�~��pĎ��a���\v�ም����}�zl:�\vF\n`�H;\\}�4�����>]{�c8nj�1��W�\tg�76D��ڭ��}hgܺ����c��p�~�[\f��|c��E@@Lο��C?\b��xmKM/��n< Ea8��\v��N] Ua8�2���?�]��Ȋ���{�}��I2�+�\"+�DT���ўx[}uU��h����=}�v�\0��c[>^�\t�u�<�v���Cu\0Ua8���N�~ ��p���X�Y w@����>�k��=2P�c�����Ȉ�\b��͗LDR\b�O��Â������8\fRDU��C�����\nUa8�ȝ嫢��c����A�;��0����O��8�ci�ʅ���\t���ؖ�]`a]��N���4`T�/���biNt�vCW���w�؉H\n����埏\v0���p�8/�Z=uQ�\f��|��\\��a20*\fǶ|�pt!z\"p>�zgya^�\f�\nñ�p���Y2�'Ǯ���@.r�*\a���[��=���c��>2/.��\t�o٠>��u�*@ҲA�*.NU�#���ñ��z��h��8��Ǘ�WSd�9\f�\"��b���6f�����f��O|Dy�A^���O����\0�\t��8�y�&�~Q=4#�j�p,K��1�\t��8���EQ���0�����\vd�n�0\f�n��k�\n�A��p�\"��a�h��8�Awż,P&z��0�O�h=@XY]�v���@�������X���]�;=��0;ړg�/�[����o�K��\a��c�=��� X�D[�����}/@��p,U�<S{-zm8����v�7r?h�\0ǎ�Ȭ��N��\"�\"p�E۸�/����p'������_�W�.�(z��0�\r�@� #�\"p�|03�4'{�\n��|z���k��p8b8v�j��C/�-�v�����Wd��0��9&�\vs>4A�}���֪�w���\b0A�p,UEDž`����0�O�{U=#X��N��\0����`����p��y-d�}@U�'�=7O\v��>�*\f�gwK�y���;� o�*@D�e+���/$DL[���f��@�o�ݴ��4o���y^ �����X�z��O�\f��8���W��V��X�8t�vX���AY�pl�1g�l?�W��������g ��Y>~#�����]��v�m�ۿ���� �ñ�����즠6b@�h��>%�/'ۓ ��O�z.$�d;���)��\aO�?\n��d{'��0,Gs�TGQݜ:����o�Fu�t��-8�!�����c��`1�w��\b\n��Rȗn׮!��&�\f�7��//��Q�zP����\"�����YQXs@/2Sm�\b-6�\"W��},B��\n2�~�:sS��� \0dZ�z���\bL��i��\a�b KĘ}�\0��#�p1��`(�͇�!B'ش9�[���\\�z��EPA\f�`\f��xU�9�\n����8�G!x���i����gG�l��%�)��a!6(l��^�3�?b�`\tA2�s'jo\t���<{D�@�>Z(����ge��Ȋ�1>h\t ���ag������0$�oG�X�-�#���g���\r*�d�g�P>�@lD_�!i�����8��\r��C�TDo\f��b/�����|��3�./~�2�`δ����ߥ|�\0�\f�Դ�pLx��@�!j��������j�5�\a�\"B���Ԝ/~_?�(D�<2\0����P \0�\fc��أ�u�Ba�\f�d�z�x�]\t�������Blp�`H��#����\b��.�!�]�@�cb\vÐ�l_��ऱ���@���A��>�v���G>������|\b���u�����\vǂ HV��}���m,o$˷�T��^��V�e.\v�7wBlb��Ϲk\rD�\r��n��V}q�vꝰ���������vT([�[�@23�6���\rC2��~gN�b�aH��ϣ`wBϟ���nb�C�̸_��οb�aH��_/�;/Ć�\f���5y��=�X<�����}�]�k�\fDu��\\g�*�Z9�\f~��I��d�\f���9�}%<0�/��X�3B<0�Ϟa��k!^76+0xo��\a�5Y^��/K�B�\a7\f�d���N��r�a��\t���|yk>�(��`HV�|�-\f�Ǿ/�t�!���G��$=g��\a?--\nw-xc\b$�i<*���t��W�r݄��=D#�� _N v/�����B�\v<2�m��ҜP��^\f���ͧ�p�H�,A;����\v,�M��A;*��{[�M(qb\r�d����L�A����~9];#TH�=C Y����;Bl�V��\f��_��\rZ$�dz~���Lx���@2�a����/���~�\b�5�7_��B��5��>Z=#����C2#>!<�[��X�e?�,�\"O\t\r��A`�\f��>J� aaH��o\"P�h\b$��O�\bQ�&��/����Z�� 0�Ե���3C@-e��I��li���;���2�aU/nR\n����0(�F?�Y~%�xaw\feF�E⯳�p��0��A�_��� d\0eF�\t\nF�(;-Ɠ�@c�Yi���꣩�ᑚc�Ͳ��谤�?�+?�\r�(��A\\C\a1)���a���.����\0�!��d�~�ŏ��F��`ԧxUE��n���._Z����E��P}y�\n1\n�jĠ^��bTD���%�9[��0qptbPf�/�G��Ԁ�[�ЬPN�EՀ}�\0�Gw�h��;\b:\t����;U���2�����Kb��\t(C.Qp���xh��-I0�P�`~~i��\r��v����\n��������b�\a�~�2�7���;�����:q�`�Gp̨=����t�!��Sg�?\n�$X�\t(Ci�^,�F5PeZ��X�ѱ(,��43����z�bj\b�0�`�^:��>�~��.\0\fʬ���̗��\abA\a�\04k�R�%>��7\0��J�å����e5�\v8�L%�^U��On���������1:��\0PVX�dޞ3_�/�8�\f!�8i���I�P�*�di�G1:p?\f�߉��)vp\r�d3bh�Rx?BTJ;\f0(ˁ��jIpP����n\v-:I�,��L�=���I:F�B�\\K\bF�o&P��~����M\f�S�̗�#u�\v+K�u۞2�D�`��aeW^ToE@\aS\teZ?6�|KL<�< ����`N��p P��q/R�\rbPf���~Sh=N�/��2�?��O�9�hVC����A_A��ϼ��8#F�\0\"\f�L���\b��a �>�Q�У�Ge:�i����������;\r�/��O�<P�����$��A��*4�%����|�(���|��x_GB'�\a�V1&\"��^���������MUo�ep6Pf~_?1O�5/����1�\n\b����h��w�A�G�BrH���l�`��7��nlȆ��t��ѽ�)z��<R��<��L�4{�&��Q7�����I�U݈A7�e�U+\r�q�}���$;��\";j- �v��y����\r����;����!�{�V�T}�<���I���ɯ��C���,�K��k�f��p�A�$5<7��l���ϳz=�|�T��O�×j������Yi�ɐF�v����¹-�ɂ�Kv��\"�D5$�\f�;�_������h�|%�I��^���\nd�*%��')8��\v�z]��t?�$_賝q3>\t�#��w%)�J2�+���Ќ�M؊&X���a�>��dk���`s�b�Ox=�\\�N�[\"I7\r7S�d$Md�\\����%.Fe<Ld\tx�\t�ri��es_V[:�,;6\f��Y7ǟM\0�wai�_kN-�����\bX��/!��>7��p�\v�j^͐V��B|y�[�t�}��t�~Dž;���\ay&'[���+\n�io��� \\i$U]VU����.�\"�����9}n���W�ie�\t�B��~.͖�Cp����O�;��[V��܆�D`KF>e���]qX7�ew��V�]�rAB�wVΓ��\0�G����:PRI����Vހ�k1�mΛ-����'�˩q�\\m\fr�&K$��?�e�}�.���\f[����ʝ�$�<���b����� ]�f���;���#�piUc��������jfLu^����uN���$����L��&���kk\nOJ�GN�x�)���J=x�²�K��k=��@�i\\�#�IK�K��s�c:��=�c������`ȳ�v��O�8`�{uAY>#N'�~�v»�������3~4}W���f��|e�0���ک�љ*E9�+�#Z��ܻ�ۂ��$��P�'!A~Z��y���ϓ\a���Ѹ=��m�w\nP�@.d���W��O��C�YZa��#�W����ȬH>�8o��8�*r�%�K�?J�5xTim4�.�W�e;l���t������\0L3���縠=��y\\����Z��$'��Ϟ1�_�\"�8_I�b߄�ղ�\f�;����Vs�j�\vʚ�AcR��ϓ��O����\0�!���E��y�\\`��|�s�\\mWўï��{���\" w�<cA�l�V���F͟����ٹ��6����d�\f#�lg�\t��;?8��ca��y\0��\bS6��vd���3L�>U%�>�W38�\b{싑��gix��9����YjM���iMA�Kc�R\n�-\\%T����Q|_�,u`%�#̳�<ii������ޯ-��B���2�Z覐I\t���RNϸ�qs��\n�5x?5��\0��D� ~����9�'�v��Sn�FF�\"�$��]���r4N��7+��>2b�\"�,l���e�I+0L�z�� ��5�y-LN�[$��}Z����:���ί���{�r­*QҾU\a����℔�E����|�)�T\v~#�'s\n�4� Hܐ;?\"�|�O��k���\a�Wax7�����(�c��<��r��6��$<g!B��<�:vŌ�4�#\t�Y��-�ܐ\v\n%&�s�<�I�&�\b2�'5�Lv=�c�9��o����+�L�A�a��/߼^��Z5��ͥQ��Cd��.Y\0��\"$����y�#��3���ۏ\va)]�Sȸ�QC\r�LO]~8���l��a�\08���u�Ώ�d�|�j��E�gLX��Ə뺇�;'���#�J\0�ڌ]�2�_��2Ϭ%\\� �e��R��6a�K��-�5��^�LM+'�1E����ʺjW,TT��#�1MQ��ڶSYSE.�Ow�v�)Ro��%A���g�Ȣ����Vh��FWO\r�C����i��U咼7�y��K<�|���蘨�H������Ѩ��}b8\v�%q����,pP��jh���uv>�(z�}Z�X�4XE�ފ��OĨ���Ή-�s|Z��a���8옥���u�z��V(���\r+� tb��#AI��Es��'��U���٬���Lj����\r,_X\f���i�h<4l��1s��'[��l��W�drzIm�(#�ؙ#Z�]\r�$�\aSG�_=�\n���.gt̲\v\\(<u�u�\n����M\rO0�!��?��3�����d� �˜8fou�`l�{A�OF���`�ټy#��p��!ɖ��S��g�'68���4�X�\r���1���DJc�*0a:)R�DЌ:�������hH8�҇�U���Kyy���\rƒ=�\aZ}�$�:Y�i�b�;bd��B�)��R�߁�|�+\a���|)���N��LHx6�q��2/�I����{9�s�T9��cnH*7�\ng�p'��q�3�3�DF��;!T�Ȭ���\ns\v��a���ƭ�ɭһ��X^�\f��ţ\0���|�F��BLRV��:��s1�ٰ�qnVL��xe�%ϛ֓�=Hol�x��t�=�1C>9t�%o�Ρ�m8�ݥ���%�#�^Ǒ�ҝ��]s7�w\t���J벡p���C \b���\t�� ��S��w�ogY���Ļ́�J�2?�\\�?�\0#nɀG��Y|�dL�;����\ty����F��VM����[��T7ov<��oz�<;ϪS6��Ԏ\rebJ���[�\f��|�qG���X�\0.n0h�H�\t��dQ[��I�寶��%�\f,^��$�3a�i�Y��íHy16���[Z֬�@��`@j�>��>���jA;����?H������[��lM[h�!���`����#L�}sB��WS~@?������/��Y-T<����C/��&Q%��(w\a�K�il�2���~�o�Ճr_a.r.�R� �\nl����Z\t�(�ʟ��W| ��׻=\voX/�ڴb\"�����O�/���\r\0E�����'�/�z�Z��q,pK!'�cû�M�u#���˪ت�.%��HMԄ�)�b��x;_�]coa���\v�~�sG3r�!*ud�P�.��H�� ���BK��\\e_\a��ˆ5<Ǹ�e��O���<�W��hCR�0�[\t����>�{�����3O�߿��̡��\v�Lj?����\t<�+��\\��df�m��Ke����p�>sK��+��_����YE)��-�S�e�GL�T���45G\f���_BN��:r�E���\r\"b%S�b���PS��xY/\"��3��z�������p��Ɖ\r๋���#E%�CE��g^�������r���3��͛7j�j��S#1�En���3�͕��P�z�4t$��a��l$\b��嵂h�v Rc�F�/0�,������V��K\r2@L\n�t �W��)4TE����t�[t�uX��X���ȆL�5Eɩ��\r��z�^��_˩<��F�����'���)`��5������GL��(�u����Y�E�h���Yv�b(_�m�d���m��N;8w�7;�V��ס�El~N\b�\v�y+P���GE�@ء�R@5;�G�9�[�|ѺyǟS;F�lL�عa���M[��\fn��\tI z\0�A����I��~ȀL`�\nӷ�6@2�S��7���[w���x\0��\v��?��}v�\b�\b����_6fL����\"YB�mm����$ܠm��E6 �H�q�3U!���h��'���YCC4K�n���H\a��8а�s����\\�l�]Uv�_������@�b�\aZ�4��FV�!�R%\r�H��K��V����ĭ�I��������3[��һ����~�2�� u�#իw�WN�~��i1��3��v�h\\9՗<!�CgRX�����G�d�=�R9�ՍT�=��QPjuDd5�T�����.�?���j\tS#�R�hG\a�YR'�:x�i��@�B7�r9H��\">c�ջ��t�#�-\"�e\aG����q��}���L��s��]�P%ާ]�FӨ���\n\"�Փ�?�4���J����FT�}G�\r\v��ܦ<���\rb�0Ѻ�كq�*�Y��'�o���ݦ�P���xK|��4��0c�=�>Dz�\n7ء4=�yC|�|���8pm츈41��B2�f\r�'$���g�1� _n���L4���'6�VʊBD���5;��]J�5�9��� �&A�d��!���O�UK��t����>�b���4AP��7C.�ބ���1X�&�@RQ�<�8o�7o�\vÞ\f�X�\bY\"�V���\"~�@s3dž'�ZK8Qdž����S�t�ѫ���Uk��]�t�J1��*3��S슲�����;��4�t\nW��+\n��70M�J\\^bߗ/\0�ެ�J��[jp��5M�&�.�u�,�-�2�n��N}�^$\b�<�.NT�\t�5G�=xP�?9)!��z�}���1��-�_�\0��9��S��뭯U��[���a��\"�J�����i�_���bpl�9U.����=Ŷ�����y���u��3N�g�F�{U4T\v�w_�#��Ym�IG\\�AXP�=�d4,�O�\v�댲��\"�n��H�l���K\"�b�UaiCITe��*�!\"�q���\nS�BP�d�\f�0���I��}qҬJvRU(%iY�d{��Oԣ����8�Ȳ\rH���H�E��d?��\b2\n��4MA[��ƨV�������A0���q�[�s���Al��:�����&.������{c\n�ش�T|�����[Z���_�VgNQ��{o1b��3O��$gth�{\0��8�Õ��$\\Z9bAT�0�;0�\r;��g�?��0�4�r\a\\A,@��u�qD\\���?�M�2��H�8�8�f~9�N~�I��q��D|QƩW�%�'���;�ی���bv{���W���7�#��c �@�S�R�h��g�s|!0$k�|pD����*�6��-��d1WN.��\t�9�S�2ҞR\n�J����G2*�����,i�^�L�qn&D�ڸu��]I2N<��C��wO��\"����8μ�AAFrBF��sr���ͤ/��o�/�v�w��=���E�TV�9uB8��\a�I]3'�j�6>G�<ڒu��I�Z.�7up�w���J��\v�d��\ně-�.Ce���2hh�f�RjL�U���mz�KR�s���\0�\\geM��ް�,g��p���R1ݳ��f�\f���G`���������B+�+º|�\"KQ�b�G���9��� �6��sH6n�p��ސO/�:��T�>�N�\\Όm4�b�]vT��h?R�c\0j��m�a\\W޳��J�+H>*���ltPE��cC��j�'�����p5��Wy&���mx��P��\fF� ���nn�K^8���a��Hl�A��;u�>�c�Ғ��J��X,�~@�2�\"J�fE\a\v�H��ܲ�g��<4�� �j�a|?���c��P,�f��&^\r\a�c�qiX�\f��,�`��!:�G��^S4�T�-����t�D���\v�t���e���O�!�3�ʊ��s�/0��ԶyC�\\�sD�^�oSU�\t��is������m�TH��t81>���v����/傒S�.x\b�f\0�u�J�@��Q|�X�@\to�V�a�]��$�&k3[V��-�jN+X���ai�!:m��^8�Wh=�׍��b��=b�-{����u��*�@�z�9�������L/(�f�`�^�\r4��m*����)�_�}����?�ς�YC�n\\p��\v��w��D�)\t��\b��w��D�̘o�����\\ٖ)\txU_~;c��~���_ƀ�oհ��_���G����ͤ��eW/#\a�}��D���_�Ԡ�[�~��Z~/Z<��8*1C�n:\f�;؞\rl�aن0�?c���Eh\t����{J)�鐒�o��T���\bȝ��m$5�y��M���^I%��\0f&<vk�Y��%�(�\fX�Ɇ��;/\fHl��nmض\r�C\"\v� l�]ۿBM q���M�7�y�y�\07o޾��MG�F�ƀ����~`jkAyw�E��C��NR#�H�0�(U���yG%mA|�]���Z�c��ְI�|(l���\a�l����a�\r��,V�$�1!���s��;i���\0�CG�b1����T8�M���+w�.�֝�\"R��Q�8�j}\r\t�U�ε4\v��Bn���aT8�\\E�F�Q.���!��Lbj�{��%��\v�<��/4�#Z���3�o�\"SAC�a����Ȗ�G�ںmdG�ؠ\\%�7�T�\0 ���\"��P%��`�_�!��6?L)�S\\�҇���t���g�H����?Κ��O���~�B��\r^Ħ������x�|fni�����BW���-��]۬h^��g\"t2�\a���p1�lH�?Y��e���u���'L|�ux��MH�o4$�h���;������]���=m����Z��\"�_�(����CzF������IG&�i�5�d�8��#>�n��|��\a�A=�J�r)R��Ο`�9Ad�\t�m�@��7BV�=�����³t?�\\����L�F� m�-3��������/Ta��Fk���\b�OH����X�$9Md��լn�;\r�P*��dA�[S�2�v�Yȱ-��q�!��\rsF��|#���T��w8i�xnW��bE%\n7E\v�$�'�_C �&��\vhE��Ʒ��x�a�αJ>m�\"�ȏ6{�em�����q0�HCX�g�j�U�]��1���,��` $���*Y>��,VJc��m�~�ƙDʈ�vO��\r�4��(I�A��\"�G�U���/G~�\t\af�� Jp�t�n&���9���ZNe�y3Y�/6}5b/�6}���q�Vp��_<[��z����[7\rG���u�\n\tr�1ష�@W��G��?톾��p�Y8L<7�?a\0��Ci, �w��4���?<H�@�cP����CD��Z�'ek�Dl*�_7�n��y�� JŰ�w�SS���m����8���q�\n�\b&]\v����~|b��� �T�}U\b�cQ\b[ST�5\n\r�\foc-��8�;�c$&���{lq����׼D�&!��#�s��k�Hֿ��#�����X��D:�`������?��#M���_���c�jEp�7��̗�4�[\r��zXv�Y�z<��S�S,<����|�\b~�~�mt)&,|)�%l9\fѕ|\tC�O�vQ/�!0&O�őS`o@<��p<�&�WpB�P8xF\vf'\f&��Ű�yH�!�K@��ϭD�l����\r�G�7l��G�]E[>�$�M��.~���=�F����wD݌X���{_��Vn�ei�9��Lp�Y%1���ӥ�9\n9���1�\0`����`���]��?����=m4�I\b�v�Aq�+��������<���1�5%~��=�{�8f)̈a�Vl��\0ՙ3���p���G�o��ѯS>0DOG����#��IE��ܤ�\r:��1%n+��qW8�+��r�ߗ/��~�p�wz�q7A[g�e�#������+F��%���K9t�WN5�-�C�Q\v�lз�?���&\twF@\nz��S���_�ɋ\\0M?��u��ǂf\vO�F�)\tQ�x\r¨�������m�o�Ν���p�����1x%�A��j\0��p�����|��e�=#�&��q\bH@mE%�\r\nV\\�D��\r\n>��\t_u+�O�3���cj��U��+�u����m�W�G��[��\nV\\[���xk�\vW>f�2��E+�q�z�[��6�\"��R�[��y��|U�N�V���P �}ЋQda�E�e|V�C����� UD������e�1�F��]#�F6Fje%&X+?m��G�{�^OJ'��Qs��Y���]\f�{��ih\0*�Z�M���\a�\v���!�i�M\b��A�R@�Y+�J\v̅?�����N,͞�/.F:}ͺ�Ao�2<�Dr����7�yV�4�\b�<�TX�=��p�|���ac[�g�kp�~�6t������Ń�z!;d��^<O7D[�1����t�������\rPB$��t�g*�R���ک���\fWWE�>�a����r%���������_O_Kp/��y�Ωp��q�8q��?'hc��V^[\\G��ƏZ\b���Z”v�ZE#]�\"ɋC8�y���lu�q-_;^1o~�z�4���ʷ9�e*��\b�\rQT���//;�  ��P+\nKp.�q��E\b��\t�R*��� )y���\t]�im4n[�Z��=�'^je���_^��a<���zt���FfL��2�c����Чha�BSz*��u�yeo��.}�Cݹ�?��x��%a�%��7Y�����$����K��ǩeuvvB>�3��$ƚ(q��zV���C�S�fϙS/ͳ���8V��X�qF��c�텓-x^u\fdq=}H\"���G�2��T�e���[��00����&Erc�%��s9�lO��\b�J�l%\0�w]�\a��W:�z��Bg�>u�\\8T�{v�ֽ�C7j���a�)=k���5�F���F���%�7�����V2�6�`��e\a$��-\v��[����ۯŃٯ�*y5AF��O��n�`�Mf��~{�!���\0V��*\\�%���S}l����9}n�є��v�<S��=v�+��k9O*����G��^�s�/:d��w_E���\b�4�{H�s尴��a�{m����߈��~-��+��63��O���\n�4��Z��d��A؂�D�~p�\f\b�ں�\v:<���8�|����:ۨ�\"PZX��+/kO�����f���r:�<�qDМY����uK��A//��J������Pё2�є\r�e�`���S�6�L�_Yѧ�.� y��ff�1R.�6n]��3\v63�<����� !l��H+/UgN�/�'� aMBt���\"]���\vs��g��ޙ���㿛�ΛǏ��ܩ�z�>��@|jm\\& $����2�:��ԃ\a�7��������#���w_�G���B�Ԋ0�Y�]{��k�\\�M�#�m_V����YC�h��[LU�rV\f�Hvg����\n�cB�a��\\p�4�\f��������Z�}��˲8�P�3����4�W�J#�'�f��)�K�u=�M��54)�\a��R*(���N}6T����V\n�6|�Q�$��>��\f�u�րq�N\\��6�!r���NY\\=gU�#.W��?uy��+�s%͟i��Iά ��_9T?�w���gR�6�k�=<�ߎ-Jmۉ��N>�\r��\a�zq[NΨ_�9�K\\:9YtcX��D����$)*�]:N��'��(�\v'(>�2��������&o����zd��uw:#&�g5#�S+�x\"���H�w����M6�'��r��ƴ�d���%�6Z�����g3�ڋR��`��A+�j\"�b'�N��iϠ��v�9�\a��^���|~S�ʒ,Cw�؈���\t^��\tD�����\"�*M�����pe��mR�LNn\f����Q����~�/�x�Z8�QD�Դ��M�oF�\n�3]#n�\rU��*�*\ry��~������-@*���\r�\0�*��\t�Wy�\r�<+�r@�|���\n�\"yٓ���A�7�IE��M�kQ++唛�ޝ+g:�z)<Aɿq=��<\r�$��ƫ�gjo��a0�h[��b�F)��>Ҟ��\\���J��;0��!�BkV߽��ڀ�V_��>�L�yL���Ƚ��yX��\vS1��ا��0��{_��k(룣9H����5�+�^z�R�1@�,[PA�K�$�K}~0�!�3P��^�`��ӊ�D��ȳ\r������S������_.�0�Z�#.�����>7���-���½h��-�m\a�ԉ�m��I�D�\0ߚ3S�.>�󙇩�d���l�DiU>B�M�b9���y�Բ_��ġ�\"�^k�\na���5z���z!���X{����W�+,L�CU`1J����d��$�J�>Y����p�xE�O�,�f\r�t�`\a���-ڨ��o��>��Z*!yǍ�!��DPވ&��5�;F�^�⋘�~8+����'M�����6�,\t�y��:�&B��_2&lL`5��,AVl�\aC#���\"N��-�I�0��l�d��+��ŵ�L���Enτ�|\bM^�Ԑ���c���{j����F����+o�q���\rIA�+Y�4���b\b�H���U��̩���$im�������_��p;x�l�dw��K��/4�G�H�|`�\t�D���'�B�bx(�-���'����?�]�D\r�9[)`�es�AϜ/\a�jҠt�Gq�F�\nMM1�H4�6nU;�Qqm^\b���?q����mryl ���XjxK�/0u�.���h+�i��*�F�@�O�)%�Z����wki<_��m�F�-��*n�[���\rL$��v���Ee�vi�Ӓ������F�t���V�f�jU��A�0\rM���Ƒ��,ۉY[�t�Fa޻5ی6��X�4$%�.�dKs�:[���B?eYT5�DQ�~�֖\aN�+\f:兵*��\r��h%�dZ{ۯӲ��P�����͠�N͕T\t%\a\a���菘��ϣ5\r��Y��b�`З\0c]V7��bN�B\v�\\�:^�f�EMc�?˻�o\v�_-��Bl̚��k�f)5Xh�D�N5��w(�}���@�:}��`.�6֮td3TT{rƜ�6�n��Ϙg��{'�X8[;��<9�xO��s�m��Kp�ߺ������>%����1���ɹ�K�&d*�\b������/.#�>��#��\r⊉��|p���\tT)��vu�C�.T��c\b>sƜ��;�>(z;o��c>\\4�ϐ��=I���*������g-n�Ӝ�\b�ʆ�/�*�t���RlaL������NJ�?_a3+���{��.��N(�����?T��pi��&.^�����wd�=�2^=����%�Кo���VoA�^zQ={��ki�\\�⹥�����Tզ��o���S��'�s�\b�2�쐻3@\0t����j��.=Y�;A�N�����GG�?� ���k�_��O���ah2�#��2ݽ��roC#G�+�,�������nN�4��j�`a�}]jWV&D�um���]��N��3�M�>��������G��a\v�u�v��J�#ߊ�D$���C]����׆�#�.��8�ȋ��ߎU�\\G����dwҥF|;ƑV��25WS/�ݨ?a.Evt�w�w�jx`���_ԙ�If�{���ˈ6P�ү�{�ݨ��2�!��\v�����+�r.J�\b%X��5��H\\��VRM���&���PQ�KF���;����Pݽ��Vu�P��w�:���dS����DB�NM���3������=�*L�nB��@\v}����n�\\\n��{��x��&<���]�d�������=�ݓ%�x��!�Xr]�b\tԓd����C����]��;Z�pU�\\�L�{�I��<A�OYE�;�N���C�[wI���8�T��\vk��Ӌw�n����|�ue;Pq7���%D,�r���B�OU\t�q�!,Ê�B�Nwt�epK8�\r0{Y�U2�gq�2������#\v����x`��ήl�7IK\vתG�f��Ч�we�nr�� jX��s� \rfi�� l�Ʈ��݋w֋w�+�(�Mv�����Pe��fՎvv,�S?��O����ٍ:�-��4\"z�қ�J�}�IiT���JԎ.�\v��\aM��*}�9������l2��x\a*K�rOf�������K4�w\\��#�����YRs��'�s�Q�Ф�����G��\v̷���t�_�;�ٗl��'�N�2��7�-_���ګfz0��h�N��E��Oh%`Ou��g:`0����)r��y�J$�te�0�!�t��&;�iLz�k��wN�#�IJG?fBNQW�]N�����6\f��YU%'��% s��px;��l:ۓ�r��3�[��v:2Z@\bp�d\f+�����'A\"#�\tw��!��v�E��z��dO{g�����Ƨ��#�[PKsp�=�ݪ\ru\n{�̛7�*�gT�F��EDԝ촠�?�M��s�'[oЧ�_Eʉa�'���{;��=8/��ռ�ԆU��ڎH�Of*mK��0.��:��\0q֊S\0"
             *
             */
            string text = sr.ReadToEnd();

            /*
             * 查询结果
             * <error><ret>0</ret><message></message><skey>@crypt_45ae67ad_38b3f61167869aa2d95ec03017fc3b1b</skey><wxsid>qF/6PWxWsfeg/ocY</wxsid><wxuin>2266323382</wxuin><pass_ticket>F6FGYITm40nVvlvflrqhdclefVDWwmFquTZrXRah9CKwCZhHCqtqFmiQNYg2t93W</pass_ticket><isgrayscale>1</isgrayscale></error>
             */
            sr.Close();
            response.Close();
            string dir = ConfigItem.LoggerDefaultDir;

            if (string.IsNullOrEmpty(dir))
            {
                dir = NowAppDirHelper.GetNowAppDir(AppCategory.WinApp);
            }
            LoggerWriter.CreateLogFile(text, dir, ELogType.SessionOrCookieLog);
            return(text);
        }
Exemplo n.º 11
0
        static void OrmIocFactory()
        {
            if (propertyVal.Count > 0)
            {//存储字典非空出来
            }
            string             connString = InitAppSetting.LogicDBConnString;
            InterfaceIocHelper ioc        = new InterfaceIocHelper();
            string             dir        = NowAppDirHelper.GetNowAppDir(AppCategory.WebApp);
            // 获取到的目录 E:\Code\DayDayStudy\PickUpData\HRApp\HRApp.Web\
            string dllDir = dir + "bin\\";

            #region dll路径配置
            Dictionary <MvcLevel, AssemblyData> mvc = new Dictionary <MvcLevel, AssemblyData>();
            mvc.Add(MvcLevel.DAL, new AssemblyData()
            {
                AssemblyName = "HRApp.Infrastructure.dll", Namespace = "HRApp.Infrastructure"
            });
            mvc.Add(MvcLevel.Bll, new AssemblyData()
            {
                AssemblyName = "HRApp.ApplicationService.dll", Namespace = "HRApp.ApplicationService"
            });
            #endregion
            propertyVal.Add("SqlConnString", connString);
            propertyVal.Add(typeof(IEnumDataRepository).Name + ".SqlConnString", InitAppSetting.AccountDBConnString);   //账号库
            propertyVal.Add(typeof(IEnumDataService).Name + ".SqlConnString", InitAppSetting.AccountDBConnString);      //账号库
            propertyVal.Add(typeof(IAppAccountRepository).Name + ".SqlConnString", InitAppSetting.AccountDBConnString); //账号库
            propertyVal.Add(typeof(IAppAccountService).Name + ".SqlConnString", InitAppSetting.AccountDBConnString);    //账号库
            propertyVal.Add(typeof(IMenuRepository).Name + ".SqlConnString", InitAppSetting.AccountDBConnString);       //账号库
            propertyVal.Add(typeof(IDataFromOtherRepository).Name + ".SqlConnString", InitAppSetting.QueryUinDB);       //这个是用于系统中查询其他库的数据切换操作
            #region dal层属性
            #region Account DB
            IEnumDataRepository enumDal = ioc.IocConvert <IEnumDataRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(EnumDataRepository).Name);
            ioc.IocFillProperty(enumDal, propertyVal);
            IAppAccountRepository accountDal = ioc.IocConvert <IAppAccountRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(AppAccountRepository).Name);
            ioc.IocFillProperty(accountDal, propertyVal);
            IMenuRepository menuDal = ioc.IocConvert <IMenuRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(MenuRepository).Name);
            ioc.IocFillProperty(menuDal, propertyVal);
            #endregion
            #region log --all
            ILogDataRepository logDal = ioc.IocConvert <ILogDataRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(LogDataRepository).Name);
            ioc.IocFillProperty(logDal, propertyVal);
            #endregion
            IAppRepository appDal = ioc.IocConvert <IHRApp.Infrastructure.IAppRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(AppRepository).Name);
            ioc.IocFillProperty <IAppRepository, IAppRepository>(appDal, propertyVal);
            IAppSettingRepository appSettingDal = ioc.IocConvert <IAppSettingRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(AppSettingRepository).Name);
            ioc.IocFillProperty(appSettingDal, propertyVal);

            IOrganizationRepository organzeDal = ioc.IocConvert <IOrganizationRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(OrganizationRepository).Name);
            ioc.IocFillProperty(organzeDal, propertyVal);
            IContactDataRepository contacterDal = ioc.IocConvert <IContactDataRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(ContactDataRepository).Name);
            ioc.IocFillProperty(contacterDal, propertyVal);
            IMaybeSpecialRepository maybeSpecialDal = ioc.IocConvert <IMaybeSpecialRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(MaybeSpecialRepository).Name);
            ioc.IocFillProperty <IMaybeSpecialRepository>(maybeSpecialDal, propertyVal);
            ISpecialSpellNameRepository speicalSpellDal = ioc.IocConvert <ISpecialSpellNameRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(SpecialSpellNameRepository).Name);
            ioc.IocFillProperty <ISpecialSpellNameRepository>(speicalSpellDal, propertyVal);
            IDataFromOtherRepository dataFormOtherDal = ioc.IocConvert <IDataFromOtherRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(DataFromOtherRepository).Name);
            ioc.IocFillProperty <IDataFromOtherRepository>(dataFormOtherDal, propertyVal);
            IReportEnumDataRepository reportDal = ioc.IocConvert <IReportEnumDataRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(ReportEnumDataRepository).Name);
            ioc.IocFillProperty <IReportEnumDataRepository>(reportDal, propertyVal);
            IRelyTableRepository relyDal = ioc.IocConvert <IRelyTableRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(RelyTableRepository).Name);
            ioc.IocFillProperty <IRelyTableRepository>(relyDal, propertyVal);
            IEmailDataRepository emailDal = ioc.IocConvert <IEmailDataRepository>(dllDir, mvc[MvcLevel.DAL].AssemblyName, mvc[MvcLevel.DAL].Namespace, typeof(EmailDataRepository).Name);
            ioc.IocFillProperty <IEmailDataRepository>(emailDal, propertyVal);
            #endregion
            #region orm中dal层实例化存储到字典中
            propertyVal.Add(typeof(ILogDataRepository).Name, logDal);
            propertyVal.Add(typeof(IEnumDataRepository).Name, enumDal);
            propertyVal.Add(typeof(IAppAccountRepository).Name, accountDal);
            propertyVal.Add(typeof(IAppRepository).Name, appDal);
            propertyVal.Add(typeof(IAppSettingRepository).Name, appSettingDal);
            propertyVal.Add(typeof(IMenuRepository).Name, menuDal);
            propertyVal.Add(typeof(IOrganizationRepository).Name, organzeDal);
            propertyVal.Add(typeof(IContactDataRepository).Name, contacterDal);
            propertyVal.Add(typeof(IMaybeSpecialRepository).Name, maybeSpecialDal);
            propertyVal.Add(typeof(ISpecialSpellNameRepository).Name, speicalSpellDal);
            propertyVal.Add(typeof(IDataFromOtherRepository).Name, dataFormOtherDal);
            propertyVal.Add(typeof(IReportEnumDataRepository).Name, reportDal);
            propertyVal.Add(typeof(IRelyTableRepository).Name, relyDal);
            propertyVal.Add(typeof(IEmailDataRepository).Name, emailDal);
            #endregion
            #region 业务层
            IEnumDataService enumBll = ioc.IocConvert <IEnumDataService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(EnumDataService).Name);
            ioc.IocFillProperty <IEnumDataService, EnumDataService>(enumBll, propertyVal);
            propertyVal.Add(typeof(IEnumDataService).Name, enumBll);
            IAppAccountService accountBll = ioc.IocConvert <IAppAccountService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(AppAccountService).Name);
            ioc.IocFillProperty <IAppAccountService, AppAccountService>(accountBll, propertyVal);
            propertyVal.Add(typeof(IAppAccountService).Name, accountBll);
            //构造函数的参数注入  判断构造函数的参数是否需要进行注入
            IAppDataService appService = ioc.IocConvert <IAppDataService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(AppDataService).Name);
            ioc.IocFillProperty <IAppDataService, AppDataService>(appService, propertyVal);
            propertyVal.Add(typeof(IAppDataService).Name, appService);
            IAppSettingService appSetService = ioc.IocConvert <IAppSettingService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(AppSettingService).Name);
            ioc.IocFillProperty <IAppSettingService, AppSettingService>(appSetService, propertyVal); //属性和字段注入
            propertyVal.Add(typeof(IAppSettingService).Name, appSetService);
            IMenuService menuService = ioc.IocConvert <IMenuService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(MenuService).Name);
            ioc.IocFillProperty <IMenuService, MenuService>(menuService, propertyVal);
            propertyVal.Add(typeof(IMenuService).Name, menuService);
            IOrganizationService organzeService = ioc.IocConvert <IOrganizationService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(OrganizationService).Name);
            ioc.IocFillProperty <IOrganizationService, OrganizationService>(organzeService, propertyVal);
            propertyVal.Add(typeof(IOrganizationService).Name, organzeService);
            IContactDataService contactService = ioc.IocConvert <IContactDataService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(ContactDataService).Name);
            ioc.IocFillProperty <IContactDataService, ContactDataService>(contactService, propertyVal);
            propertyVal.Add(typeof(IContactDataService).Name, contactService);
            IMaybeSpecialService maybeSpeiclaService = ioc.IocConvert <IMaybeSpecialService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(MaybeSpecialService).Name);
            ioc.IocFillProperty <IMaybeSpecialService, MaybeSpecialService>(maybeSpeiclaService, propertyVal);
            propertyVal.Add(typeof(IMaybeSpecialService).Name, maybeSpeiclaService);
            ISpecialSpellNameService specialSpellService = ioc.IocConvert <ISpecialSpellNameService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(SpecialSpellNameService).Name);
            ioc.IocFillProperty <ISpecialSpellNameService, SpecialSpellNameService>(specialSpellService, propertyVal);
            propertyVal.Add(typeof(ISpecialSpellNameService).Name, specialSpellService);
            IDataFromOtherService dataFormService = ioc.IocConvert <IDataFromOtherService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(DataFromOtherService).Name);
            ioc.IocFillProperty <IDataFromOtherService, DataFromOtherService>(dataFormService, propertyVal);
            propertyVal.Add(typeof(IDataFromOtherService).Name, dataFormService);
            IReportEnumDataService reportBll = ioc.IocConvert <IReportEnumDataService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(ReportEnumDataService).Name);
            ioc.IocFillProperty <IReportEnumDataService, ReportEnumDataService>(reportBll, propertyVal);
            propertyVal.Add(typeof(IReportEnumDataService).Name, reportBll);
            IRelyTableService relyBll = ioc.IocConvert <IRelyTableService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(RelyTableService).Name);
            ioc.IocFillProperty <IRelyTableService>(relyBll, propertyVal);
            propertyVal.Add(typeof(IRelyTableService).Name, relyBll);
            IEmailDataService emailBll = ioc.IocConvert <IEmailDataService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(EmailDataService).Name);
            ioc.IocFillProperty <IEmailDataService>(emailBll, propertyVal);
            propertyVal.Add(typeof(IEmailDataService).Name, emailBll);
            ILogDataService logBll = ioc.IocConvert <ILogDataService>(dllDir, mvc[MvcLevel.Bll].AssemblyName, mvc[MvcLevel.Bll].Namespace, typeof(LogDataService).Name);
            ioc.IocFillProperty <ILogDataService>(logBll, propertyVal);
            propertyVal.Add(typeof(ILogDataService).Name, logBll);
            #endregion
        }