Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议支持下收款账单 #103

Open
analyzesm opened this issue Jun 15, 2020 · 2 comments
Open

建议支持下收款账单 #103

analyzesm opened this issue Jun 15, 2020 · 2 comments

Comments

@analyzesm
Copy link

<script> function returnApp() { AlipayJSBridge.call("exitApp") }
function ready(a) {
    window.AlipayJSBridge ? a && a() : document.addEventListener("AlipayJSBridgeReady", a, !1)
}
ready(function() {
    try {
        var a = {
            actionType: "scan",
            u: "uid",
            a: "1",
            m: "123",
            biz_data: {
                s: "money",
                u: "uid",
                a: "1",
                m: "123"
            }
        }
    } catch (b) {
        returnApp()
    }
    AlipayJSBridge.call("startApp", {
        appId: "20000123",
        param: a
    }, function(a) {})
});
document.addEventListener("resume", function(a) {
    returnApp()
});
</script>
@WeihuaGu
Copy link
Collaborator

上面的js代码调用支付宝扫码的作用是啥,我没看懂

@analyzesm
Copy link
Author

固定金额,固定备注

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants