mirror of
https://github.com/lan-tianxiang/JS_TOOL.git
synced 2025-07-14 07:12:36 +08:00
更新于 07-07 03:03 在线使用数
This commit is contained in:
@ -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;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user