chunping 3 лет назад
Родитель
Сommit
a8d8065ddb
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      public/jump.html

+ 4 - 4
public/jump.html

@@ -79,7 +79,7 @@
         var containerEl = document.getElementById('public-web-container')
         containerEl.classList.remove('hidden')
         containerEl.classList.add('full', 'public-web-container')
-        var c = new cloud.Cloud({
+        /*var c = new cloud.Cloud({
           // 必填,表示是未登录模式
           identityless: true,
           // 资源方 AppID - 小程序 AppID
@@ -88,7 +88,7 @@
           resourceEnv: 'mangpiao-prod-0gc3lhscbc41fb6e', // <!-- replace -->
         })
         await c.init()
-        window.c = c
+        window.c = c*/
 
         var buttonEl = document.getElementById('public-web-jump-button')
         var buttonLoadingEl = document.getElementById('public-web-jump-button-loading')
@@ -143,7 +143,7 @@
     function openWeapp() {
       ajax({
         method: 'POST',
-        url: '/api/v1/mp/wx/urlschema/generate',
+        url: 'https://test-mp.quanshu123.com/api/v1/mp/wx/urlschema/generate',
         data: {
           path: '/pages/index/index',
           query: 'id=3847838'
@@ -245,4 +245,4 @@
   </div>
 </body>
 
-</html>
+</html>