|
|
@@ -351,11 +351,11 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
params.put("zh","peixunjigou");
|
|
|
- params.put("bh",userVo.getClassName());
|
|
|
- params.put("xm",userVo.getRealName());
|
|
|
+ params.put("bh",userVo.getCode());
|
|
|
+ params.put("xm","何建林");
|
|
|
params.put("sfz",userVo.getIdCard());
|
|
|
params.put("dh",userVo.getTelPhone());
|
|
|
- params.put("bmrq","2022-2-15");
|
|
|
+ params.put("bmrq","2022-11-11");
|
|
|
String dataTxt = params.get("zh")+params.get("bh")+params.get("xm")+params.get("sfz")+params.get("dh")+params.get("bmrq");
|
|
|
System.out.println(dataTxt);
|
|
|
String encrypted = dataSign(dataTxt,"0ca175b9c0f726a831d895e26933246");
|
|
|
@@ -385,11 +385,11 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
{
|
|
|
try{
|
|
|
String TempPKey;
|
|
|
- TempPKey = getMD5(PKey,"UTF-16LE");
|
|
|
+ TempPKey = getMD5(PKey,"UTF-8");
|
|
|
System.out.println(TempPKey);
|
|
|
TempPKey = SourceMsg + TempPKey;
|
|
|
System.out.println(TempPKey);
|
|
|
- TempPKey = getMD5(TempPKey,"UTF-16LE");
|
|
|
+ TempPKey = getMD5(TempPKey,"UTF-8");
|
|
|
System.out.println(TempPKey);
|
|
|
return TempPKey;
|
|
|
}catch (NoSuchAlgorithmException e){
|