Răsfoiți Sursa

慧用工实名认证完成

skyfffire 1 lună în urmă
părinte
comite
4e336310ba
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      src/main/java/modules/user/UserController.java

+ 3 - 1
src/main/java/modules/user/UserController.java

@@ -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);
         }
     }