|
@@ -561,7 +561,7 @@ public class CommonController extends BaseController {
|
|
|
byte[] rgbKey = "0ca175b9c0f726a831d895e26933246".substring(0, 8).getBytes("UTF-8");
|
|
|
String source = "bh="+bo.getBh()+"&idnum="+bo.getIdnum()+"&datetime=20230627";
|
|
|
System.out.println(source);
|
|
|
- return AjaxResult.success(ToolsUtils.encryptDesNew(source,"0ca175b9c0f726a831d895e26933246".substring(0, 8)));
|
|
|
+ return AjaxResult.success(ToolsUtils.encryptDesNew(source,bo.getToken().substring(0, 8)));
|
|
|
}catch (Exception e){
|
|
|
System.out.println(e.getMessage());
|
|
|
return null;
|
|
@@ -575,7 +575,7 @@ public class CommonController extends BaseController {
|
|
|
try{
|
|
|
byte[] Keys = new byte[]{0x22, 0x34, 0x76, 0x58, (byte) 0x90, (byte) 0xAB, (byte) 0xAD, (byte) 0xBF};
|
|
|
byte[] rgbKey = "01b5d9833987efdff54483cdc9720da6".substring(0, 8).getBytes("UTF-8");
|
|
|
- System.out.println(ToolsUtils.decryptDesNew(bo.getData(), "0ca175b9c0f726a831d895e26933246".substring(0, 8)));
|
|
|
+ System.out.println(ToolsUtils.decryptDesNew(bo.getData(), bo.getToken().substring(0, 8)));
|
|
|
return AjaxResult.success();
|
|
|
}catch (Exception e){
|
|
|
System.out.println(e.getMessage());
|