Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Bus schedule of Fudan University on WeChat Mini Program / 复旦校车时刻表微信小程序

License

NotificationsYou must be signed in to change notification settings

zhongyuchen/bus-schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

versiontotal userstotal addsminimum base library version

Bus schedule of Fudan University on WeChat Mini Program / 复旦校车时刻表微信小程序

ercode

Screen Shot

screen shot

Features

便捷的复旦校车查询工具,自动加载常用路线当天的时刻表,可通过选择器查看其他时间或路线的时刻表。信息查询

  • 网络状态:用户昵称右侧提示网络连接状态,请在有网络连接的情况下使用,否则将无法加载时刻表、加载/更改常用路线
  • 常用路线:出发/到达,通过设为常用按钮把当前路线设为常用路线
  • 当前日期:周几/是否工作日/时间段,自动选择是否工作日,并加载常用路线对应的时刻表
  • 选择器:查看其他时间或路线的时刻表
  • 时刻表:包括出发/到达地点、下一班次发车时间、发车时间列表
  • 校车调整通知:了解最新校车运行调整安排
  • 反馈与投诉:功能异常、产品建议、违规举报
  • 联系客服:直接咨询客服人员

Prerequisites

  • 如果要修改、增加云函数,要在对应云函数的根目录安装wx-server-sdk依赖
npm install --save wx-server-sdk@latest

Update Timetable

generate and upload timetable JSON file totimetable

  • 修改data/tojson.py中的INPUT_CSV andOUTPUT_JSON文件名
  • 修改PERIOD为时间段的名字
  • 生成时刻表JSON文件
python data/tojson.py
  • 把JSON文件上传到数据库中的timetable

add a record inperiod

begin (date): 时间段的开始时间end (date): 时间段的结束时间name (str): 时间段的名字period (str): 时间段所对应的时刻表的名字weekday (str): 工作日对应时刻表的工作日/非工作日部分weekend (str): 非工作日对应时刻表的工作日/非工作日部分

客服支持

  • 客服小助手微信小程序:回复用户消息,编辑快捷回复
  • 网页端客服:回复用户消息,设置自动接入、自动问候语,设置自动回复、自动回复内容,编辑快捷回复

Reference

Links

Author

Zhongyu Chen


[8]ページ先頭

©2009-2025 Movatter.jp