shawenguan 2 anni fa
parent
commit
8bdd1343df
1 ha cambiato i file con 11 aggiunte e 8 eliminazioni
  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;