Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

Latest commit

 

History

History
18 lines (15 loc) · 442 Bytes

File metadata and controls

18 lines (15 loc) · 442 Bytes

fortune-api

基于图片缓存池的,以tx为图床的运势API

部署

go run main.go 0.0.0.0:8000

go build -ldflags "-s -w" -trimpath -o fortune
./fortune 0.0.0.0:8000

API

http://127.0.0.1:8000/fortune?id=123456&kind=车万

  • id: 抽运势的人的唯一标识,必填
  • kind: 运势底图类型,不填默认车万,详见 ZeroBot-Plugin