Browse Source

快应用唤起方式换一种

zhoulj 4 years ago
parent
commit
cb972643d6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      resources/views/qapp/start.blade.php
  2. 1 1
      resources/views/qapp/welcome.blade.php

+ 1 - 1
resources/views/qapp/start.blade.php

@@ -361,7 +361,7 @@
     function routerAHap(data) {
         var parmas = $.param(data);
         var ohapa = document.createElement("a");
-        ohapa.href = "hap://app/" + QYY.packName + "/" + QYY.entry + "?" + parmas;
+        ohapa.href = "https://hapjs.org/app/" + QYY.packName + "/" + QYY.entry + "?" + parmas;
         ohapa.setAttribute(
             "style",
             "position: absolute;left: -1000rem;height: 1rem;width: 1rem;overflow: hidden"

+ 1 - 1
resources/views/qapp/welcome.blade.php

@@ -351,7 +351,7 @@
     function routerAHap(data) {
         var parmas = $.param(data);
         var ohapa = document.createElement("a");
-        ohapa.href = "hap://app/" + QYY.packName + "/" + QYY.entry + "?" + parmas;
+        ohapa.href = "https://hapjs.org/app/" + QYY.packName + "/" + QYY.entry + "?" + parmas;
         ohapa.setAttribute(
             "style",
             "position: absolute;left: -1000rem;height: 1rem;width: 1rem;overflow: hidden"