Skip to content

Commit

Permalink
📝 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
KimigaiiWuyi committed Feb 4, 2025
1 parent 07c11d3 commit 5cf9e6b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/Advance/HTTPCall.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ HTTP调用方式**依旧需要提供**完整的MessageReceive结构体。
:::

1. 打开GsCore的HTTP模式(和WS**并不冲突**,但仍然建议**不使用时关闭**
- 打开`gsuid_core/gsuid_core/config.json`
- 打开`gsuid_core/data/config.json`
- 找到`ENABLE_HTTP`配置项,将其设置为`true`
2. 依旧是默认8765端口(如有自行修改,以修改的为准),终结点为`/api/send_msg`
3. POST方法,数据内容为`MessageReceive`[数据结构](../CodeAdapter/Pack),以下为调用示例:
Expand Down
12 changes: 7 additions & 5 deletions docs/Advance/WebConsole.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- 地址为`IP:PORT/genshinuid`,初始账号密码为`root`/`root`,进入之后请**务必**修改密码
- 默认的IP为`localhost`,PORT为`8765`,即**默认地址**`localhost:8765/genshinuid`
- 如需挂到公网上请改IP为`0.0.0.0`,并放行服务器端口
- 修改IP的配置文件为`gsuid_core/gsuid_core/config.json`(详见[文件结构](DataStruct))
- 修改IP的配置文件为`gsuid_core/data/config.json`(详见[文件结构](DataStruct))

- `网页控制台``修改设定`一栏,`确认修改`后需要重启(可用命令`gs重启`

Expand All @@ -21,19 +21,21 @@

![image-20240609030435574](./../public/WebConsole/image-20240609030435574.png)

### 单个插件功能配置
![f1132b15-0059-4dae-8ccf-626d79b94aca](./../public/WebConsole/f1132b15-0059-4dae-8ccf-626d79b94aca.png)

### 单个插件功能配置 (可热更新,无需重启)

![image-20240609024957506](./../public/WebConsole/image-20240609024957506.png)

### 单个插件的配置
### 单个插件的配置 (能不能热更新,需要看代码)

![image-20240609030709698](./../public/WebConsole/image-20240609030709698.png)

### GsCore配置
### GsCore配置 (不可热更新,修改后请`gs重启`)

![image-20240609025018824](./../public/WebConsole/image-20240609025018824.png)

### 数据表管理
### 数据表管理 (热更新)

![image-20240609030539347](./../public/WebConsole/image-20240609030539347.png)

Expand Down
2 changes: 1 addition & 1 deletion docs/Extra/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
> Q: 能不能修改`core`接受链接的端口
>
> A: 在`gsuid_core/gsuid_core/config.json`中,调整IP和PORT后重启core
> A: 在`gsuid_core/data/config.json`中,调整IP和PORT后重启core
2 changes: 1 addition & 1 deletion docs/FAQ/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@
##### Q: 能不能修改`core`接受链接的端口

> `gsuid_core/gsuid_core/config.json`中,调整IP和PORT后重启core
> `gsuid_core/data/config.json`中,调整IP和PORT后重启core
2 changes: 1 addition & 1 deletion docs/Started/CoreConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

::: warning

`config.json`文件位于`gsuid_core/gsuid_core/config.json`
`config.json`文件位于`gsuid_core/data/config.json`

`core_config.json`文件位于`gsuid_core/data/core_config.json`

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5cf9e6b

Please sign in to comment.