shawenguan 2 年之前
父節點
當前提交
8bdd1343df
共有 1 個文件被更改,包括 11 次插入8 次删除
  1. 11 8
      Scripts/gandartHelper.js

+ 11 - 8
Scripts/gandartHelper.js

@@ -26,14 +26,17 @@ const gardartLimitPriceKey = '@gandart.limitPrice';
 
 let gandartToken = lk.getVal(gandartTokenKey, '');
 
-// if(!lk.isExecComm) {
-//     if (lk.isRequest()) {
-//         getInfo();
-//         lk.done();
-//     } else {
-//         all();
-//     }
-// }
+if(!lk.isExecComm) {
+    if (lk.isRequest()) {
+        // getInfo();
+        lk.appendNotifyInfo('测试1');
+        lk.done();
+    } else {
+        // all();
+        lk.appendNotifyInfo('测试2');
+        lk.done();
+    }
+}
 
 // function getInfo() {
 //     const url = $request.url;