|
|
@@ -230,7 +230,7 @@ public class UserController extends MyController {
|
|
|
public void hygSign() {
|
|
|
JSONObject requestBodyJson = MyController.getJsonModelByRequestAndType(getRequest(), JSONObject.class);
|
|
|
String businessBodyEncryptedHex = requestBodyJson.getString("businessBody");
|
|
|
-
|
|
|
+
|
|
|
try {
|
|
|
String body = AESUtils.decryptByHex(businessBodyEncryptedHex, System.getenv("HYG_AES_SECRET_KEY"));
|
|
|
JSONObject businessBody = JSONObject.parseObject(body);
|
|
|
@@ -261,6 +261,8 @@ public class UserController extends MyController {
|
|
|
responseJson.put("statusCode", "100000");
|
|
|
responseJson.put("statusText", "回调失败,解密出现错误 " + e.getMessage());
|
|
|
|
|
|
+ System.out.println("回调失败,解密出现错误 " + e.getMessage());
|
|
|
+
|
|
|
renderJson(responseJson);
|
|
|
}
|
|
|
}
|