Artifact f9df02e638864ab87d28b1a811eae8f9edb67176a748686254420f2c84dce9ad:
- File
backend/gleam.toml
— part of check-in
[5bb18ed4d4]
at
2026-10-23 03:34:10
on branch trunk
— 把来肯对接和本地库落到可切换的后端。
账号从环境读取,商品由人工增量同步,订单按五分钟轮询并缓存登录会话。开发期用 SQLite,同一套结构可切到 PostgreSQL。 (user: pluto size: 1073)
name = "swiftflow_backend" version = "1.0.0" # Fill out these fields if you intend to generate HTML documentation or publish # your project to the Hex package manager. # # description = "" # licences = ["Apache-2.0"] # repository = { type = "github", user = "", repo = "" } # links = [{ title = "Website", href = "" }] # # For a full reference of all the available options, you can have a look at # https://gleam.run/writing-gleam/gleam-toml/. [dependencies] gleam_stdlib = ">= 1.0.0 and < 2.0.0" gleam_erlang = ">= 1.3.0 and < 2.0.0" ql361api = { path = "../shared/ql361api" } wisp = ">= 2.2.2 and < 3.0.0" mist = ">= 6.0.3 and < 7.0.0" cors_builder = ">= 2.0.8 and < 3.0.0" gleam_json = ">= 3.1.0 and < 4.0.0" gleam_http = ">= 4.5.0 and < 5.0.0" gleam_httpc = ">= 5.0.0 and < 6.0.0" sqlight = ">= 1.2.0 and < 2.0.0" pog = ">= 4.1.0 and < 5.0.0" envoy = ">= 1.2.0 and < 2.0.0" gleam_otp = ">= 1.3.0 and < 2.0.0" simplifile = ">= 2.7.0 and < 3.0.0" logging = ">= 1.5.0 and < 2.0.0" exception = ">= 2.1.1 and < 3.0.0" [dev_dependencies] gleeunit = ">= 1.0.0 and < 2.0.0"