更新于 07-07 03:03 在线使用数

This commit is contained in:
root
2021-07-07 03:03:39 -04:00
parent 0bf5275a68
commit 6a59dbe151

View File

@ -70,7 +70,7 @@
</body>
<script>
var qrcode, userCookie, timeId;
var qrcode, userCookie, timeId, ;
$(document).ready(function () {
qrcode = new QRCode(document.getElementById('qrcode'), {
@ -94,7 +94,8 @@ $(document).ready(function () {
title: '🎈添加成功🎈',
html:
'<div class="cookieCon" style="font-size:12px;">' +
`您的账号已经成功添加,时长为一个月` +
`恭喜你成为第` + UserNum + `名用户` +
`<br />您的账号已经成功添加,时长为一个月` +
'</div>',
icon: 'success',
confirmButtonText: '返回',
@ -132,6 +133,7 @@ $(document).ready(function () {
let timeStamp = new Date().getTime();
$.get('./GetUserCount?t=' + timeStamp, function (data) {
if (data.err == 0) {
UserNum = data.msg;
document.getElementById("UserNum").innerHTML=data.msg;
}
});