xj qian
2024-10-23 e05f7cc8755eb7f5525e6bf86a7e5454a0c91fd0
jrj/project/business/BasicCode/QuickCode_Tree.cpp
@@ -75,7 +75,7 @@
         return -1;
      }
      //trace(x.xml());
      if (x.xml() == L"")
      if ((xstring)x.xml() == L"")
      {
         xml xx;
         xx.loadXML(L"<root/>");
@@ -556,10 +556,10 @@
      {
         p += L"&";
         int i = 1;
         while (p.find(L"=L", 0) > 0)
         while (p.find(L"=", 0) > 0)
         {
            xstring name = p.mid(0, p.find(L"=L", 0));
            xstring value = p.mid(p.find(L"=L", 0) + 1, p.find(L"&", 0) - p.find(L"=L", 0) - 1);
            xstring name = p.mid(0, p.find(L"=", 0));
            xstring value = p.mid(p.find(L"=", 0) + 1, p.find(L"&", 0) - p.find(L"=", 0) - 1);
            if (name == n) return L"" + value;
            i += 1;
            p = p.mid(p.find(L"&", 0) + 1, p.length());