Commit 57779c7f authored by 何家明's avatar 何家明

增加README描述

parent 5a29802e
Pipeline #1215 failed with stages
...@@ -27,16 +27,23 @@ post http://localhost:8000/mcp/query ...@@ -27,16 +27,23 @@ post http://localhost:8000/mcp/query
} }
``` ```
customer_token是配置在config.yaml中的,它的值是一个随机数,建议使用uuid生成 ## config.yaml
### 指定客户
customer_token是一个随机数,建议使用uuid生成
之所以不直接使用customer_id,是为了保证一定的数据安全性,防止用户随意更改customer_id导致越权 之所以不直接使用customer_id,是为了保证一定的数据安全性,防止用户随意更改customer_id导致越权
当前配置了一项超级管理员:01ce2837d453c02f9b0e1828d0134e8e: bme
```yaml ```yaml
customer: customer:
customer_token: customer_id customer_token: customer_id
``` ```
如果想调整对接的模型,可以修改config.yaml中的配置 ### 调整对接的模型
active指定当前激活的是什么模型,对应model下面的配置 active指定当前激活的是什么模型,对应model下面的配置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment