Explorar el Código

Merge branch 'master' of e.coding.net:zdap/weixiu/weixiu_api into tmp-master

liugc hace 1 año
padre
commit
340b58bd68
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  1. 13 0
      app/common/service/wechat/WeChatMnpService.php

+ 13 - 0
app/common/service/wechat/WeChatMnpService.php

@@ -108,4 +108,17 @@ class WeChatMnpService
     }
     }
 
 
 
 
+    // 生成微信小程序url_scheme码
+    public function getGeneratescheme($page,$query='',$env_version='release')
+    {
+        return $this->app->getClient()->postJson('wxa/generatescheme', [
+            'jump_wxa' => [
+                'path'=>$page,
+                'query'=>$query,
+                'env_version'=>$env_version
+            ]
+        ]);
+    }
+
+
 }
 }