shawenguan 2 年之前
父節點
當前提交
fda711c493
共有 3 個文件被更改,包括 19 次插入20 次删除
  1. 15 16
      BoxJsSub/JoJo_BoxJs.json
  2. 二進制
      Images/gandart.png
  3. 4 4
      Scripts/gandartHelper.js

+ 15 - 16
BoxJsSub/JoJo_BoxJs.json

@@ -1,20 +1,20 @@
 {
     "id": "JoJo.app.sub",
-    "name": "JoJo 脚本订阅",
-    "description": "JoJo私人QX订阅",
+    "name": "JoJo应用订阅",
+    "description": "JoJo私人QX应用订阅",
     "author": "@JoJo",
     "icon": "https://avatars.githubusercontent.com/u/16010188",
     "repo": "http://git.jojo21.cf/shawenguan/Quantumult-X",
     "apps": [
         {
-            "id": "jojo.gandart",
+            "id": "lkGandartHelper",
             "name": "光予助手",
             "author": "@jojo",
             "repo": "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/gandartHelper.js",
             "script": "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/gandartHelper.js",
             "icons": [
-                "https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/10086.png",
-                "https://raw.githubusercontent.com/Orz-3/mini/master/Color/10086.png"
+                "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Images/gandart.png",
+                "https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Images/gandart.png",
             ],
             "scripts": [
                 {
@@ -31,12 +31,11 @@
                 }
             ],
             "keys": [
-                "@gandart.isNotify",
-                "@gandart.token",
-                "@gandart.castingId",
-                "@gandart.transactionRecordId",
-                "@gandart.limitPrice",
-                "@gandart.collectionName"
+                "lkGandartToken",
+                "lkGandartCastingId",
+                "lkGandartTransactionRecordId",
+                "lkGandartLimitPrice",
+                "lkGandartCollectionName"
             ],
             "settings": [
                 {
@@ -68,35 +67,35 @@
                   "desc": "Tg的通知地址,如:https://api.telegram.org/bot-token/sendMessage?chat_id=-100140&parse_mode=Markdown&text="
                 },
                 {
-                  "id": "@gandart.token",
+                  "id": "lkGandartToken",
                   "name": "token",
                   "val": "",
                   "type": "text",
                   "desc": "授权token"
                 },
                 {
-                  "id": "@gandart.castingId",
+                  "id": "lkGandartCastingId",
                   "name": "产品铸造品类ID",
                   "val": 0,
                   "type": "number",
                   "desc": "产品铸造品类ID"
                 },
                 {
-                  "id": "@gandart.transactionRecordId",
+                  "id": "lkGandartTransactionRecordId",
                   "name": "产品记录ID",
                   "val": 0,
                   "type": "number",
                   "desc": "产品记录ID(非编号)"
                 },
                 {
-                  "id": "@gandart.limitPrice",
+                  "id": "lkGandartLimitPrice",
                   "name": "价格上限",
                   "val": 0,
                   "type": "number",
                   "desc": "价格上限"
                 },
                 {
-                  "id": "@gandart.collectionName",
+                  "id": "lkGandartCollectionName",
                   "name": "产品名称",
                   "val": "",
                   "type": "text",

二進制
Images/gandart.png


+ 4 - 4
Scripts/gandartHelper.js

@@ -19,10 +19,10 @@ const config = {
 
 const lk = new ToolKit(`光予助手`, `GandartHelper`, `gandartHelper.js`);
 
-const gandartTokenKey = '@gandart.token';
-const gardartCollectionNameKey = '@gandart.collectionName';
-const gardartCastingIdKey = '@gandart.castingId';
-const gardartLimitPriceKey = '@gandart.limitPrice';
+const gandartTokenKey = 'lkGandartToken';
+const gardartCollectionNameKey = 'lkGandartCollectionName';
+const gardartCastingIdKey = 'lkGandartCastingId';
+const gardartLimitPriceKey = 'lkGandartLimitPrice';
 
 let gandartToken = lk.getVal(gandartTokenKey, '');