shawenguan 2 năm trước cách đây
mục cha
commit
7b2aa90e3e
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      Scripts/jhsh/jhshHelper.js

+ 4 - 1
Scripts/jhsh/jhshHelper.js

@@ -73,7 +73,10 @@ function checkHandleRequest() {
     lk.log(`请求body=${body}`);
     if ($request && $request.method != 'OPTIONS') {
         let segments = path.split('/');
-        let queryOptType = segments[0];
+        if(segments.length < 1){
+            return;
+        }
+        let queryOptType = segments[1];
         let queryParams = lk.parseQueryStr(path);
         let txcode = null;
         if(queryParams['txcode']){