Skip to content
This repository has been archived by the owner on Dec 29, 2024. It is now read-only.

建议支持下收款账单 #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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants