add 在线用户记录数单独显示

This commit is contained in:
xxq250 2025-07-18 14:59:27 +08:00
parent a90bed0b8f
commit 9d968ac5db
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class MainController < ApplicationController
skip_before_action :setup_laboratory
def first_stamp
render :json => { status: 0, message: Time.now.to_i }
render :json => { status: 0, message: Time.now.to_i, online: UserOnline.count }
end
def test_404