Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

路线功能 #18

Open
mikezhuang2022 opened this issue Dec 21, 2022 · 0 comments
Open

路线功能 #18

mikezhuang2022 opened this issue Dec 21, 2022 · 0 comments
Labels
功能需求 New feature or request

Comments

@mikezhuang2022
Copy link
Contributor

mikezhuang2022 commented Dec 21, 2022

功能描述

添加一条路线,显示百分比(已完成点位/总点位数量, 前端计算),配上领跑视频。分为公共和个人路线。

存储方式(暂定)

  • 公共: 业务接口
  • 个人: 云同步

API路径

参考点位API

地址 说明
/line/single 添加路线 PUT
/line/single 修改路线 POST
/line/{lineId} 删除路线 DELETE
/line/get/list_byinfo 根据各种条件筛选查询路线信息
/line/get/list_byid 通过ID列表查询路线信息
/line/get/id 根据各种条件筛选查询路线ID
/line/get/page 分页查询所有路线信息

数据结构

英文名 类型 中文名 说明
id integer 路线ID
markerList array 点位数组 路线按照数组内顺序
content string 内容
lineCreatorId integer 路线创建者ID
viedoPath string 领跑视频地址 建议设置校验,基本格式"https://www.bilibili.com/video/BV1JP411E7fV?t=58.2&p=5"
hiddenFlag integer 显隐方法
lineTitle string 路线标题
@mikezhuang2022 mikezhuang2022 added the 功能需求 New feature or request label Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
功能需求 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant