mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-05 03:36:39 +08:00
fix AES decode
This commit is contained in:
parent
3b82706132
commit
e54245f871
@ -31,7 +31,7 @@ public class GoodService {
|
|||||||
paramMap.put("channelId","15");
|
paramMap.put("channelId","15");
|
||||||
String sb = SmartHttpUtil.sendPostForm(url+"product/query",paramMap,null);
|
String sb = SmartHttpUtil.sendPostForm(url+"product/query",paramMap,null);
|
||||||
JSONObject jsonObject = JSONObject.parseObject(sb);
|
JSONObject jsonObject = JSONObject.parseObject(sb);
|
||||||
String result = AESUtil.decrypt(jsonObject.getString("data"), AESUtil.KEY);
|
String result = AESUtil.decryptLinux(jsonObject.getString("data"), AESUtil.KEY);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ public class GoodService {
|
|||||||
paramMap.put("channelId","15");
|
paramMap.put("channelId","15");
|
||||||
String sb = SmartHttpUtil.sendPostForm(url+"productMaster/query",paramMap,null);
|
String sb = SmartHttpUtil.sendPostForm(url+"productMaster/query",paramMap,null);
|
||||||
JSONObject jsonObject = JSONObject.parseObject(sb);
|
JSONObject jsonObject = JSONObject.parseObject(sb);
|
||||||
String result = AESUtil.decrypt(jsonObject.getString("data"), AESUtil.KEY);
|
String result = AESUtil.decryptLinux(jsonObject.getString("data"), AESUtil.KEY);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user