Dev See merge request quanshu/mp-ui-pc!34
@@ -38,7 +38,7 @@
}
function openWeapp() {
- ajax({
+ let req = ajax({
method: 'POST',
async: false,
url: 'https://test-mp-adm.quanshu123.com/test-api/api/v1/mp/wx/urlschema/generate',
@@ -47,7 +47,12 @@
query: 'id=3847838'
})
- // onclick="openWeapp()
+
+ req.then(data => {
+ console.log(data)
+ window.location.href = "weixin://";
+ })
</script>
<style>