1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-03 18:47:41 +08:00

fix: uptimes, 距离当前时间戳最多14400秒

86400也会导致q16 fde9508748b00283b2
This commit is contained in:
icarus-ai 2023-03-15 23:54:41 +08:00 committed by GitHub
parent 1045201c7e
commit a075c15b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ func genRandomPayloadByDevice(info *Device) map[string]any {
"oz": "UhYmelwouA+V2nPWbOvLTgN2/m8jwGB+yUB5v9tysQg=",
"oo": "Xecjt+9S1+f8Pz2VLSxgpw==",
"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",
"bod": string(info.Board),
"brd": string(info.Brand),