{
  "ok": true,
  "service": "算料服务",
  "version": "0.1.0",
  "engine": "确定性计算（无随机 / 无时间 / 无 IO）",
  "endpoints": [
    "GET /api/health",
    "GET /api/params",
    "POST /api/calc",
    "POST /api/compare",
    "POST /api/quote",
    "GET /api/prices",
    "PUT /api/prices",
    "PUT /api/prices/fill",
    "POST /api/export",
    "GET /api/auth/status",
    "POST /api/auth/register",
    "POST /api/auth/login",
    "POST /api/auth/logout",
    "GET /api/auth/me",
    "POST /api/auth/rebind",
    "POST /api/accounts",
    "GET /api/accounts/children",
    "POST /api/invite-codes",
    "GET /api/invite-codes",
    "GET /api/invite-codes/lookup",
    "GET /api/attribution",
    "POST /api/credits/consume",
    "GET /api/credits/ledger",
    "GET /api/credits/integrity",
    "GET /api/products",
    "POST /api/orders",
    "GET /api/orders",
    "GET /api/orders/:no",
    "POST /api/orders/:no/close",
    "POST /api/orders/:no/mark-paid",
    "POST /api/pay/alipay/notify",
    "POST /api/pay/cashier/notify",
    "POST /api/trial",
    "GET /api/trials",
    "POST /api/projects",
    "GET /api/projects",
    "GET /api/projects/:id",
    "PATCH /api/projects/:id",
    "DELETE /api/projects/:id",
    "POST /api/projects/:id/recalc",
    "POST /api/projects/:id/snapshots",
    "GET /api/projects/:id/snapshots",
    "GET /api/snapshots/:id",
    "DELETE /api/snapshots/:id",
    "POST /api/customers",
    "GET /api/customers",
    "GET /api/customers/:id",
    "PATCH /api/customers/:id",
    "DELETE /api/customers/:id",
    "GET /api/appliances",
    "POST /api/appliances",
    "PATCH /api/appliances/:key",
    "DELETE /api/appliances/:key",
    "POST /api/appliances/:key/restore",
    "POST /api/appliances/:key/image",
    "GET /api/appliances/:key/image",
    "POST /api/render/uploads",
    "GET /api/render/uploads/:id"
  ],
  "auth": {
    "required": true,
    "tokenConfigured": true,
    "header": "x-admin-token",
    "guarded": [
      "PUT /api/prices",
      "POST /api/prices",
      "PUT /api/prices/fill",
      "POST /api/prices/fill",
      "POST /api/export"
    ],
    "sessionScheme": "Bearer"
  },
  "pay": {
    "channel": "cashier",
    "signType": null,
    "configured": true,
    "appId": null,
    "sellerId": null,
    "publicKeySet": false,
    "notifyUrl": "POST /api/pay/cashier/notify",
    "payMethods": [
      "支付宝"
    ],
    "note": "收款通道已接通 ⇒ 选好档位下单，页面会给出这一单**专用的支付宝付款链接**（不是二维码，点开直接跳转到支付宝）。请在支付宝里完成付款；链接有效期较短，请尽快完成。付完若没立刻到账，点「我已付款，开始核对」立刻查一次。"
  },
  "storage": {
    "driver": "sqlite",
    "ok": true,
    "dirSource": "env",
    "file": "app.db",
    "schemaVersion": 9,
    "tables": 17,
    "missingTables": [],
    "error": null
  },
  "priceStore": {
    "persisted": true,
    "source": "db",
    "owner": "default",
    "rows": 16
  }
}