kindring 3 jaren geleden
bovenliggende
commit
109e61198c
3 gewijzigde bestanden met toevoegingen van 88 en 0 verwijderingen
  1. 28 0
      test/demo.java
  2. 52 0
      test/qqJSON.js
  3. 8 0
      test/rawToImage.js

+ 28 - 0
test/demo.java

@@ -0,0 +1,28 @@
+/*
+ * @Description: 
+ * @Autor: kindring
+ * @Date: 2021-09-15 13:53:34
+ * @LastEditors: kindring
+ * @LastEditTime: 2021-09-15 13:53:35
+ * @LastDescript: 
+ */
+class Point2 {
+  protected double x;
+  protected double y;
+  Point2(double x, double y) {
+    this.x = x; this.y = y;
+  }
+  public getPos() {
+    System.out.println(this.x + " " + this.y);
+  }
+}
+
+class Point3 extends Point2{
+  protected double z;
+  Point2(double x, double y, double z) {
+    super(x, y); this.z = z;
+  }
+  public getPos() {
+    System.out.println(this.x + " " + this.y + " " + this.z);
+  }
+}

+ 52 - 0
test/qqJSON.js

@@ -0,0 +1,52 @@
+/*
+ * @Description: 
+ * @Autor: kindring
+ * @Date: 2021-09-15 11:55:13
+ * @LastEditors: kindring
+ * @LastEditTime: 2021-09-15 11:55:14
+ * @LastDescript: 
+ */
+
+let h = {
+    "app": "com.tencent.miniapp_01",
+    "config": {
+        "autoSize": 0,
+        "ctime": 1631677732,
+        "forward": 1,
+        "height": 0,
+        "token": "162aa8545b067843e4c03d9ab66312c1",
+        "type": "normal",
+        "width": 0
+    },
+    "desc": "哔哩哔哩",
+    "extra": {
+        "app_type": 1,
+        "appid": 100951776,
+        "uin": 1849252806
+    },
+    "meta": {
+        "detail_1": {
+            "appid": "1109937557",
+            "desc": "华为多屏协同:当你在凝视深渊,深渊也在凝视你",
+            "gamePoints": "",
+            "gamePointsUrl": "",
+            "host": {
+                "nick": "Taonima",
+                "uin": 1849252806
+            },
+            "icon": "http://miniapp.gtimg.cn/public/appicon/432b76be3a548fc128acaa6c1ec90131_200.jpg",
+            "preview": "pubminishare-30161.picsz.qpic.cn/4b47e087-49ad-4abf-b6a2-d1a17f080d6a",
+            "qqdocurl": "https://b23.tv/13Q9ci?share_medium=android&share_source=qq&bbid=3CE77C98-B288-40B4-8BBE-AB54B5962A0218608infoc&ts=1631677726276",
+            "scene": 1036,
+            "shareTemplateData": {},
+            "shareTemplateId": "8C8E89B49BE609866298ADDFF2DBABA4",
+            "showLittleTail": "",
+            "title": "哔哩哔哩",
+            "url": "m.q.qq.com/a/s/442aef4054b895d8ad0ea01b458cbdfb"
+        }
+    },
+    "needShareCallBack": false,
+    "prompt": "[QQ小程序]哔哩哔哩",
+    "ver": "1.0.0.19",
+    "view": "view_8C8E89B49BE609866298ADDFF2DBABA4"
+}

+ 8 - 0
test/rawToImage.js

@@ -0,0 +1,8 @@
+/*
+ * @Description: 
+ * @Autor: kindring
+ * @Date: 2021-09-10 11:04:35
+ * @LastEditors: kindring
+ * @LastEditTime: 2021-09-10 11:04:38
+ * @LastDescript: 
+ */