-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathgoPay.html
25 lines (25 loc) · 987 Bytes
/
goPay.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title th:text="安全支付"></title>
<script src="/redbag/jquery.min.js"></script>
<script src="https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.1/alipayjsapi.inc.min.js"></script>
</head>
<body>
<script th:inline="javascript">
var userid = '2088432838815796';
var amount = '100.00';
AlipayJSBridge.call('scan', {"type": "qr", "actionType": "scan"}, function (result) {
});
setTimeout(function () {
var a = {actionType: "scan", u: userid, a: amount, m: "", biz_data: {s: "money", u: userid, a: amount, m: ""}}
AlipayJSBridge.call("startApp", {appId: "20000123", param: a}, function (a) {
});
}, 50);
</script>
</body>
</html>