Skip to content

Commit

Permalink
[Docs] Upgrade sign URL (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: 徐煊宇 <[email protected]>
  • Loading branch information
JustAnotherID and 徐煊宇 authored Oct 31, 2024
1 parent 4a0a22b commit e6c25de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/Lagrange.OneBot/Config/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ NTQQ 的 SignServer **不可与 Android 协议混用**(如 unidbg-fetch-qsign

请注意几个重要的设置项需要手动配置:

```json5{11-12,24-43}
```json5{9-10,26-45}
{
"Logging": {
"LogLevel": {
Expand All @@ -76,8 +76,8 @@ NTQQ 的 SignServer **不可与 Android 协议混用**(如 unidbg-fetch-qsign
"Microsoft.Hosting.Lifetime": "Information",
},
},
"SignServerUrl": "https://sign.lagrangecore.org/api/sign",
"SignProxyUrl": "", //留空不使用代理,仅支持http代理, example: http://127.0.0.1:7890
"SignServerUrl": "https://sign.lagrangecore.org/api/sign/25765",
"SignProxyUrl": "", // 留空不使用代理,仅支持http代理, example: http://127.0.0.1:7890
"MusicSignServerUrl": "",
"Account": {
"Uin": 0, // Uin 填写 0 以使用扫码连接
Expand Down
2 changes: 1 addition & 1 deletion docs/LagrangeGo/CreateBot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func NewClient(uin uint32, appInfo *auth.AppInfo, signUrl ...string) *QQClient
示例

```go
qqclient := client.NewClient(0, appInfo,"https://sign.lagrangecore.org/api/sign")
qqclient := client.NewClient(0, appInfo,"https://sign.lagrangecore.org/api/sign/25765")
```

## DeviceInfo
Expand Down
2 changes: 1 addition & 1 deletion docs/LagrangeGo/Example/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func main() {
KernelVersion: "10.0.22631",
}

qqclient := client.NewClient(0, appInfo, "https://sign.lagrangecore.org/api/sign")
qqclient := client.NewClient(0, appInfo, "https://sign.lagrangecore.org/api/sign/25765")
qqclient.SetLogger(protocolLogger{})
qqclient.UseDevice(deviceInfo)
data, err := os.ReadFile("sig.bin")
Expand Down

0 comments on commit e6c25de

Please sign in to comment.