mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
Merge pull request #324 from icarus-ai/patch-1
fix: uptimes, 距离当前时间戳最多14400秒
This commit is contained in:
commit
4b7a854307
@ -123,7 +123,7 @@ func genRandomPayloadByDevice(info *Device) map[string]any {
|
|||||||
"oz": "UhYmelwouA+V2nPWbOvLTgN2/m8jwGB+yUB5v9tysQg=",
|
"oz": "UhYmelwouA+V2nPWbOvLTgN2/m8jwGB+yUB5v9tysQg=",
|
||||||
"oo": "Xecjt+9S1+f8Pz2VLSxgpw==",
|
"oo": "Xecjt+9S1+f8Pz2VLSxgpw==",
|
||||||
"kelong": "0",
|
"kelong": "0",
|
||||||
"uptimes": time.Unix(now.Unix()-fixedRand.Int63n(86400), 0).Format(time.DateTime),
|
"uptimes": time.Unix(now.Unix()-fixedRand.Int63n(14400), 0).Format(time.DateTime),
|
||||||
"multiUser": "0",
|
"multiUser": "0",
|
||||||
"bod": string(info.Board),
|
"bod": string(info.Board),
|
||||||
"brd": string(info.Brand),
|
"brd": string(info.Brand),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user