mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
ci(chore): Fix stylings
This commit is contained in:
parent
1288c30775
commit
007f228e10
@ -119,11 +119,11 @@ func getSSOAddress() ([]netip.AddrPort, error) {
|
|||||||
protocol := SystemDeviceInfo.Protocol.Version()
|
protocol := SystemDeviceInfo.Protocol.Version()
|
||||||
key, _ := hex.DecodeString("F0441F5FF42DA58FDCF7949ABA62D411")
|
key, _ := hex.DecodeString("F0441F5FF42DA58FDCF7949ABA62D411")
|
||||||
payload := jce.NewJceWriter(). // see ServerConfig.d
|
payload := jce.NewJceWriter(). // see ServerConfig.d
|
||||||
WriteInt64(0, 1).WriteInt64(0, 2).WriteByte(1, 3).
|
WriteInt64(0, 1).WriteInt64(0, 2).WriteByte(1, 3).
|
||||||
WriteString("00000", 4).WriteInt32(100, 5).
|
WriteString("00000", 4).WriteInt32(100, 5).
|
||||||
WriteInt32(int32(protocol.AppId), 6).WriteString(SystemDeviceInfo.IMEI, 7).
|
WriteInt32(int32(protocol.AppId), 6).WriteString(SystemDeviceInfo.IMEI, 7).
|
||||||
WriteInt64(0, 8).WriteInt64(0, 9).WriteInt64(0, 10).
|
WriteInt64(0, 8).WriteInt64(0, 9).WriteInt64(0, 10).
|
||||||
WriteInt64(0, 11).WriteByte(0, 12).WriteInt64(0, 13).Bytes()
|
WriteInt64(0, 11).WriteByte(0, 12).WriteInt64(0, 13).Bytes()
|
||||||
buf := &jce.RequestDataVersion3{
|
buf := &jce.RequestDataVersion3{
|
||||||
Map: map[string][]byte{"HttpServerListReq": packUniRequestData(payload)},
|
Map: map[string][]byte{"HttpServerListReq": packUniRequestData(payload)},
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
package client
|
package client
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"strconv"
|
||||||
|
|
||||||
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
|
"github.com/Mrs4s/MiraiGo/client/pb/oidb"
|
||||||
"github.com/Mrs4s/MiraiGo/internal/proto"
|
"github.com/Mrs4s/MiraiGo/internal/proto"
|
||||||
"strconv"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// SendGroupSign 发送群聊打卡消息
|
// SendGroupSign 发送群聊打卡消息
|
||||||
|
Loading…
x
Reference in New Issue
Block a user