{"repo":"Enraged-Dun-Cookie-Development-Team/Ceobe-Canteen-Serve","free":true,"listed":false,"github":"https://github.com/Enraged-Dun-Cookie-Development-Team/Ceobe-Canteen-Serve","clone":"git clone https://github.com/Enraged-Dun-Cookie-Development-Team/Ceobe-Canteen-Serve.git","description":"快来帮小刻找找蜜饼吧，小刻要饿昏啦","language":"Rust","stars":27,"topics":["arknights","ceobe","mongodb","rust","sea-orm","actix-web"],"license":"AGPL-3.0","category":"databases-storage","readme_excerpt":"Ceobe-Canteen-Serve - git emoji 以后提交用这个吧 启动配置文件 启动配置文件支持 .toml , .json , .yaml 可以将配置不同部分分布在不同的文件中（不推荐） - 配置项介绍 所属分组 名称 必须 类型 说明 补充 :----------------------: :--------------------: :---: :-------------------------------------------------------------------------------------: :----------------------------------- :----------------------------------------------------------------- database / db scheme 是 String 数据库的 scheme,如 mysql 无 database / db username 是 String 数据库的 用户名 无 database / db password 是 String 数据库的 密码 无 database / db host 否 String 数据库的 host 默认为 localhost database / db port 否 u16 数据库的 port 默认为 3306 database / db name 是 String 使用的数据库名称 无 database / db max conn 是 u32 数据库的最大连接数 无 database / db min conn 是 u32 数据库的最小连接数 无 database / db logger 否 bool 是否开始数据库操作日志 默认关闭 logger / log to stdout 否 bool 同时将日志输出到 Stdout 默认为 true logger / log to file 否 String 同时将日志输出的文件 有值将会同时将日志输出到指定文件 logger / log level 是 off 或者 error 或者 warm 或者 info 或者 debug 或者 trace 日志输出过滤等级 无 resp result / rresult body 是 String 响应成功时的响应体字段名称 无 resp result / rresult err-msg 是 String 响应失败时异常字段名称 无 resp result / rresult fix-field 是 bool 响应体固定字段 如果无需该字段值将为 null resp result / rresult bool-status 否 Option 使用一个 bool 类型标记响应成功与否 该字段缺省表示不使用 resp result / rresult body-extra-err 否 Option 额外的异常信息在响应体中字段 该字段缺省表示不使用 resp result / rresult header-extra-err 否 Option 额外的异常信息在响应头中的字段名称 该字段缺省表示不使用 mongodb / mongo username 是 String Mongodb 进行数据库连接使用的用户 该用户需要完整 Admin 权限 mongodb / mongo password 是 String Mongodb 进行数据库连接使用的用户密码 无 mongodb /","default_branch":null,"files":null,"tree":[],"storefront":"/r/Enraged-Dun-Cookie-Development-Team","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Enraged-Dun-Cookie-Development-Team/Ceobe-Canteen-Serve/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}