mirror of
https://github.com/statbate/shiny-potato.git
synced 2026-08-11 03:12:42 +00:00
update
This commit is contained in:
parent
a455784f47
commit
06f4b6c002
3 changed files with 45 additions and 54 deletions
|
|
@ -71,12 +71,12 @@ func cmdHandler(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
params := r.URL.Query()
|
||||
if len(params["room"]) > 0 && len(params["id"]) > 0 && len(params["proxy"]) > 0 {
|
||||
if len(params["room"]) > 0 && len(params["id"]) > 0 && len(params["proxy"]) > 0 && len(params["ws"]) > 0 {
|
||||
now := time.Now().Unix()
|
||||
workerData := Info{
|
||||
room: params["room"][0],
|
||||
Id: params["id"][0],
|
||||
Server: "",
|
||||
Server: params["ws"][0],
|
||||
Proxy: params["proxy"][0],
|
||||
Online: "0",
|
||||
Start: now,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue