在对接视频号小店过程中,我们申请了两个小店,一个小店解密正常,另一个小店解密一直java heap space
可正常解密信息:
{"outShopId":"wx2278021c21217071","signature":"abf509d770c904a89bbca0eeeed0ecafeb3028d7","timestamp":"1670336390","nonce":"262955515","openid":"o6jc75bRHGiuTqf3XZcXteNQB6u0","encrypt_type":"aes","msg_signature":"fa28040b4d29cbbfb0d829801071579781e45352"{"ToUserName":"gh_75d94b79492a","Encrypt":"sWdnguWnFj29SGatyFhZxD41kmkyA4M3a5zZwF3vZHb49M7RLlfcvFEhZMiIerA5oD95M7jIMev5hyAHrG8L1iYav60fWEbpSVFX0e0AsjQzb3FORykYbcUCUNzVsZVIlV4tVw9oOAKBG1vtBKg1GquzY0d6+r2mx8pE4VGtV3OBn8oKyYHZlZJb1PNWyiBK9+abls0XYqa68H8ebWFGALXBcZJQoDSlQSstDDMTMB2U6/ppqNsUIAH8s1VgQgFUhE6k2GhRBGoclWHxN0cyaREcEcFJnXj8tcffsivakRL7LhYYsoxy71foY0x9x7f9J4P7MWJsQPHafpPZeOvyUMXqkWKvU1i2GQVDqP/RkMUbl8roQDFq6KXEFSWpoFKn"}
无法解密信息:
{"nonce":"407099334","outShopId":"wxfc349f8123af5aa8","msg_signature":"acf03822f1755b0bf503080b2bdc945aa8eb1787","timestamp":"1669968974"}, body=VideoShopCallbackBodyDTO(toUserName=gh_5955056b028a, encrypt=pfKXOI4wME1yllKuRRt8VExCT173QNWGz+GGG4pZAoPIBGfSSFHml6YvsjPD3bXOmNAVsyjsFm7SKlpcqQif1yNkDpjbSc7y13AplMYp6WUmof0YfscVb/f1AUMaufXErUIXjOvepIiq91wAYIqQXZ0h24cX/3fxScx/cYDxRBVgkyAwEkia0vGrLZ/mEspyTUxA7TQAHuWoRZGd/wiudWQ42ZN5XS02OGYxne2SuR1aiRbyNQnOwErJUAZxqDHI2YGgB0mitGz1xwDDpkXnHK/e0F+XWCrXDUwUHn2B0YQvRtlSCItT6YbUJDrS8aqFVth82g+mYJXZzedQqi0GCQ==)
如果是代码问题,那应该两者都解密失败才对,但是现在有一个小店回调解密成功,一个小店解密失败,用的同一份代码,请问在对数据加密时,是否做了一些特殊判断?