能力值:
( LV1,RANK:10 )
|
-
-
|
能力值:
( LV1,RANK:10 )
|
-
-
|
能力值:
( LV1,RANK:10 )
|
-
-
[悬赏]初学XML 转换,怎么去做转换呢?
yegu 编码后与原文件比较完全一样。
明码
<?xml version="1.0" encoding="GB2312"?> <SeeyonOAPlugIn> <PlugID>06-E9-9C-00-00-26,C2FinalSupply</PlugID> <OAVersion>A8V51</OAVersion> <C2Version>版本号</C2Version>//不知什么版本 // <ERPVersion>U8</ERPVersion> <DogID>06-E9-9C-00-00-26</DogID> <VoucherCount>50</VoucherCount> <DogCheck>258'1</DogCheck> <RptCount>50</RptCount> <StartTime>20150930</StartTime> <C2RunTime>360</C2RunTime> <PlugGateClass>net.btdz.oa.ext.eipas.common.SystemInit</PlugGateClass> <PlugInType>EIPASCHECK</PlugInType> <PlugInName>EIPASPlugIn</PlugInName> </SeeyonOAPlugIn> 一次加密后
再加密
|
能力值:
( LV1,RANK:10 )
|
-
-
[悬赏]初学XML 转换,怎么去做转换呢?
yegu 编码后与原文件比较完全一样。
String OAVersionStr = fXML.substring(fXML.indexOf("<OAVersion>") + 11, fXML.indexOf("</OAVersion>"));//A8V51 String DogIDStr = fXML.substring(fXML.indexOf("<DogID>") + 7, fXML.indexOf("</DogID>"));//dcc03690dfec3b904c7da60f142ccd5a String C2VersionStr = fXML.substring(fXML.indexOf("<C2Version>") + 11, fXML.indexOf("</C2Version>"));//b2d6dae0bb2c05acc23a22e33b5a6aec String ERPVersionStr = fXML.substring(fXML.indexOf("<ERPVersion>") + 12, fXML.indexOf("</ERPVersion>"));// <ERPVersion>!L</ERPVersion> String VoucherCountStr = fXML.substring(fXML.indexOf("<VoucherCount>") + 14, fXML.indexOf("</VoucherCount>"));// <VoucherCount>AD</VoucherCount> String StartTimeStr = fXML.substring(fXML.indexOf("<StartTime>") + 11, fXML.indexOf("</StartTime>")); //<StartTime>FDEADMGD</StartTime> String C2RunTimeStr = fXML.substring(fXML.indexOf("<C2RunTime>") + 11, fXML.indexOf("</C2RunTime>"));// <C2RunTime>GBD</C2RunTime> String RptCountStr = fXML.substring(fXML.indexOf("<RptCount>") + 10, fXML.indexOf("</RptCount>"));// <RptCount>AD</RptCount> 能不能上加密哪加上去呢? String DogID = Security.MD5(Security.KL("06-E9-9C-00-00-26"));//加密得String DogIDStr = dcc03690dfec3b904c7da60f142ccd5a String C2Version = Security.MD5(Security.KL("不知道"));//加密得 解密得到的结果: ERPVersionStr = Security.JM(ERPVersionStr);//U8 VoucherCountStr = Security.JM(VoucherCountStr);//50 RptCountStr = Security.JM(RptCountStr);//50 StartTimeStr = Security.JM(StartTimeStr);//20150930 C2RunTimeStr = Security.JM(C2RunTimeStr);//360
|
能力值:
( LV1,RANK:10 )
|
-
-
|
能力值:
( LV1,RANK:10 )
|
-
-
|
能力值:
( LV1,RANK:10 )
|
-
-
|
能力值:
( LV1,RANK:10 )
|
-
-
|
能力值:
( LV1,RANK:10 )
|
-
-
|
能力值:
( LV1,RANK:10 )
|
-
-
|