forked from Trustie/forgeplus
add 在线用户记录数单独显示
This commit is contained in:
parent
a90bed0b8f
commit
9d968ac5db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue