迁移 Flutter 端与训练脚本,模型/训练产物移出 git(遵循纯代码约定)
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# 视野后端配置
|
||||
server:
|
||||
address: ":8080"
|
||||
openapiPath: "/api.json"
|
||||
|
||||
database:
|
||||
default:
|
||||
type: sqlite
|
||||
# SQLite 数据文件(运行时数据,不提交 git)
|
||||
link: "sqlite::@file(./data/observer.db)"
|
||||
cache:
|
||||
# 查询缓存 TTL(秒)
|
||||
ttl: 30
|
||||
|
||||
auth:
|
||||
# 登录 token 签名密钥(HMAC-SHA256,必填):换值即全员下线
|
||||
secret: "changeme-auth-secret"
|
||||
# 登录 token 有效期(秒),默认 30 天
|
||||
tokenTtl: 2592000
|
||||
|
||||
admin:
|
||||
# 后台管理端静态 token:请求头 X-Admin-Token 必须匹配;为空时管理接口全部拒绝
|
||||
token: "Tongli686^*^"
|
||||
|
||||
# 套餐定价(静态配置,改价 = 改本节点后重启服务;金额单位为分,展示名由 days 派生"N天")
|
||||
plans:
|
||||
- id: day
|
||||
days: 1
|
||||
price_cents: 1000
|
||||
- id: week
|
||||
days: 7
|
||||
price_cents: 5600
|
||||
- id: month
|
||||
days: 30
|
||||
price_cents: 18000
|
||||
|
||||
payment:
|
||||
# 回调验签/IO 处理并发度(缺失或非法时回退默认值)
|
||||
poolSize: 16
|
||||
wechat:
|
||||
# 微信支付 APP 支付(APIv3),商户号未配置时接口返回「支付未配置」
|
||||
appid: "" # 开放平台 AppID
|
||||
mchid: "" # 商户号
|
||||
apiV3Key: "" # APIv3 密钥
|
||||
serialNo: "" # 商户证书序列号
|
||||
privateKey: "" # 商户 API 私钥文件路径(PEM)
|
||||
notifyUrl: "" # 回调地址,如 https://api.example.com/api/v1/payment/wechat/notify
|
||||
alipay:
|
||||
# 支付宝 APP 支付,未配置时接口返回「支付未配置」
|
||||
appid: "" # 开放平台 AppID
|
||||
privateKey: "" # 应用私钥文件路径(PEM)
|
||||
alipayPublicKey: "" # 支付宝公钥文件路径(PEM)
|
||||
sellerId: "" # 收款方 PID(回调校验 app_id/seller_id 用)
|
||||
notifyUrl: "" # 回调地址,如 https://api.example.com/api/v1/payment/alipay/notify
|
||||
Reference in New Issue
Block a user