shawenguan 2 лет назад
Родитель
Сommit
9da37c6e2d
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      BoxJsSub/JoJo_BoxJs.json
  2. 2 2
      Scripts/gandartHelper.js

+ 2 - 2
BoxJsSub/JoJo_BoxJs.json

@@ -83,8 +83,8 @@
                 {
                   "id": "lkGandartTransactionRecordId",
                   "name": "产品记录ID",
-                  "val": 0,
-                  "type": "number",
+                  "val": "",
+                  "type": "text",
                   "desc": "产品记录ID(非编号)"
                 },
                 {

+ 2 - 2
Scripts/gandartHelper.js

@@ -84,7 +84,6 @@ function getInfo() {
 
                     lk.setVal(gardartCastingIdKey, String(obj["castingId"]));
 
-                    lk.setVal(gandartTransactionRecordIdKey, 12345);
                     lk.appendNotifyInfo('🎉成功获取产品信息');
                 } else {
                     lk.execFail();
@@ -115,7 +114,8 @@ async function all() {
 }
 
 function checkBuy() {
-
+    let price = lk.getVal(gardartLimitPriceKey, 0);
+    lk.setVal(gardartLimitPriceKey + "="+type(price)+":"+price);
 }