1
0
mirror of https://github.com/ZSCNetSupportDept/website.git synced 2025-10-28 17:05:03 +08:00
Files
website/docs/devdocs/_legacy/_后端API服务_/02-配置.md
2025-06-13 23:02:06 +08:00

518 B
Raw Blame History

配置

介绍

配置为一个json文件,其中,各个字段的定义如下:

port:一个数字,为程序所监听的端口

database:

  • Type:一个字符串,指定了所使用的数据库的类型,需要在MySQL PostgreSQL SQLite中选择一个
  • Path:对于SQLite填写数据库的位置对于其他的数据库填写URL
  • Port:数据库所监听的端口SQLite可以不用填以下也是
  • User:数据库用户名
  • name:数据库名称,
  • Password:数据库密码