1 Star 0 Fork 1

RankiSama / 抢票

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

这是一款基于Java开发的12306抢票小程序的后端代码

前端代码传送门

https://github.com/15207135348/qiangpiaojiang

12306接口文档传送门

https://github.com/15207135348/12306InterfaceDoc

功能列表

  • 车次查询

  • 车次筛选

  • 自动打码

  • 自动登录

  • 普通刷票

  • 候补抢票

  • 微信通知

  • 邮件通知

  • 用户订单管理

  • 先抢票后付款

  • 预约抢票

  • 车次推荐

  • 坐席推荐

  • 时段推荐

  • 在线选座

  • 成功率预估

  • 先付款安心抢

  • 免12306账户密码抢票

项目环境

  • python 3.6 - 3.7.4
  • java 1.8
  • MySQL 5.4.X - 5.7.X

项目使用说明

  • 创建数据库表

  • 创建方法

    • 登陆到MySQL数据库中,使用如下命令创建数据库表
    • source ticketserver.sql
  • 服务器启动

    • 修改application-properties文件

      • 设置连接数据库的用户名和密码

      • spring.datasource.username = ****
        spring.datasource.password = ****
      • 配置小程序的appid和secret(需要前往微信开放平台创建一个小程序)

      • app.id=****
        app.secret=****
      • 设置微信通知的消息模板(需要前往微信开发平台申请消息模板)

      • # 抢票成功通知模板
        app.template_common_ticket=****
        # 候补抢票成功通知模板
        app.template_alternate_ticket=****
    • 启动验证码识别模版

      • python3 app.py
    • 启动主程序

      • 在IDEA中运行StartApplication
MIT License Copyright (c) 2020 yangyun Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
Java 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/ranki_admin/ticket-grabbing.git
git@gitee.com:ranki_admin/ticket-grabbing.git
ranki_admin
ticket-grabbing
抢票
master

搜索帮助