lyhzzz 1 yıl önce
ebeveyn
işleme
2f25bcd2fb

+ 8 - 0
src/main/java/com/fdkankan/ucenter/service/impl/InnerServiceImpl.java

@@ -266,6 +266,14 @@ public class InnerServiceImpl implements IInnerService {
 
 
     }
     }
 
 
+    public static void main(String[] args) {
+        JSONObject jsonObject = new JSONObject();
+        jsonObject.put("appId","ucenter");
+        jsonObject.put("timestamp",System.currentTimeMillis());
+        String deTxt = RsaUtils.encipher(jsonObject.toJSONString(), RsaUtils.publicKey);
+        System.out.println(deTxt);
+    }
+
 
 
 
 
     @Override
     @Override