!220 Adding AES logic

Merge pull request !220 from Admin/sit-Carl
This commit is contained in:
Admin 2022-03-14 02:56:06 +00:00 committed by Gitee
commit 56459c79ed
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -80,7 +80,9 @@ public class GoodService {
paramMap.put("secret","H5@2021"); paramMap.put("secret","H5@2021");
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);
return sb; JSONObject jsonObject = JSONObject.parseObject(sb);
String result = AESUtil.decryptLinux(jsonObject.getString("data"), AESUtil.KEY);
return result;
} }
public String productSearchQuery()throws Exception{ public String productSearchQuery()throws Exception{