|
@@ -610,12 +610,11 @@ public class CommonController extends BaseController {
|
|
|
public AjaxResult encryptDes(@RequestBody ClassGradeDecryptQueryBo bo) {
|
|
|
try{
|
|
|
byte[] Keys = new byte[]{0x22, 0x34, 0x76, 0x58, (byte) 0x90, (byte) 0xAB, (byte) 0xAD, (byte) 0xBF};
|
|
|
- byte[] rgbKey = "0ca175b9c0f726a831d895e26933246".substring(0, 8).getBytes("UTF-8");
|
|
|
- String source = "bh="+bo.getBh()+"&idnum="+bo.getIdnum()+"&datetime=20230627";
|
|
|
+ byte[] rgbKey = "83A3C737FC54B575CC2ABDEFDCE090".substring(0, 8).getBytes("UTF-8");
|
|
|
+ String source = "bh="+bo.getBh()+"&idnum="+bo.getIdnum()+"&datetime=20230821";
|
|
|
System.out.println(source);
|
|
|
return AjaxResult.success(ToolsUtils.encryptDesNew(source,bo.getToken().substring(0, 8)));
|
|
|
}catch (Exception e){
|
|
|
- System.out.println(e.getMessage());
|
|
|
return null;
|
|
|
}
|
|
|
}
|