|
@@ -7,7 +7,10 @@ import com.ym.mec.collectfee.common.service.impl.BaseServiceImpl;
|
|
|
import com.ym.mec.collectfee.dao.*;
|
|
|
import com.ym.mec.collectfee.entity.*;
|
|
|
import com.ym.mec.collectfee.service.ApplyInfoService;
|
|
|
-import com.ym.mec.collectfee.utils.*;
|
|
|
+import com.ym.mec.collectfee.utils.CDesECB;
|
|
|
+import com.ym.mec.collectfee.utils.HttpUtil;
|
|
|
+import com.ym.mec.collectfee.utils.MapUtil;
|
|
|
+import com.ym.mec.collectfee.utils.XStreamUtil;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
@@ -308,13 +311,6 @@ public class ApplyInfoServiceImpl extends BaseServiceImpl<Integer, ApplyInfo> im
|
|
|
return body.substring(body.indexOf("<body>")+6,body.indexOf("</body>"));
|
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) throws Exception {
|
|
|
- DES des = new DES();
|
|
|
-// body = des.encryption(body,key);
|
|
|
- String s = des.decryption("e99a18c428cb38d5f260853678922e03","5qbrivhrKEHws/iz25I6bg==");
|
|
|
- System.out.println(s);
|
|
|
- }
|
|
|
-
|
|
|
private ResponseUserInfo parseRegisterInfo(String body){
|
|
|
body = "<body>" + new String(Base64.getDecoder().decode(body)) + "</body>";
|
|
|
ResponseUserInfo userInfo = XStreamUtil.xmlToObject("body", ResponseUserInfo.class, body);
|