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

+ 4 - 4
BoxJsSub/JoJo_BoxJs.json

@@ -76,15 +76,15 @@
                 {
                   "id": "lkGandartCastingId",
                   "name": "产品铸造品类ID",
-                  "val": 0,
-                  "type": "number",
+                  "val": "",
+                  "type": "text",
                   "desc": "产品铸造品类ID"
                 },
                 {
                   "id": "lkGandartTransactionRecordId",
                   "name": "产品记录ID",
-                  "val": 0,
-                  "type": "number",
+                  "val": "",
+                  "type": "text",
                   "desc": "产品记录ID(非编号)"
                 },
                 {

+ 1 - 0
Scripts/gandartHelper.js

@@ -61,6 +61,7 @@ function getInfo() {
         }
         if(url.match(/\/market\/api\/v3\/resaleManage\/tradingMarket/)){
             lk.log(`开始获取Token`);
+            lk.log(JSON.stringify($request.headers));
             if ($request.headers['token']) {
                 let jwktoken = $request.headers['token'];
                 lk.setVal(gandartTokenKey, jwktoken);