Skip to content

Commit f970b3e

Browse files
author
文贤平
committed
.
1 parent fd379e7 commit f970b3e

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
- 非root用户(避免安装和运行时使用了不同环境): `pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt`
2727
2828
#### 项目使用说明
29-
- 可以配置邮箱,可以配置可以不配置,配置邮箱的格式在[配置](TickerConfig.py)里面可以看到ex
30-
- 可以配置server酱提醒(推荐)[配置教程](https://www.jianshu.com/p/8d10b5b9c4e3)
29+
- 可以配置邮箱,配置邮箱的格式在[配置](TickerConfig.py)里面可以看到ex
30+
- 可以配置server酱提醒(推荐)[配置教程](https://www.jianshu.com/p/8d10b5b9c4e3)
3131
- 配置[配置](TickerConfig.py)文件的时候,需注意空格和遵循python语法格式
3232
3333
#### 项目开始

TickerConfig.py

+10-12
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,14 @@
1919

2020
# 填入需要购买的车次(list),"G1353"
2121
STATION_TRAINS = [
22-
"G6142",
23-
"G6174",
22+
"",
2423
]
2524

2625
# 出发城市,比如深圳北,就填深圳就搜得到
27-
FROM_STATION = "深圳北"
26+
FROM_STATION = ""
2827

2928
# 到达城市 比如深圳北,就填深圳就搜得到
30-
TO_STATION = "隆回"
29+
TO_STATION = ""
3130

3231
# 座位(list) 多个座位ex:
3332
# "商务座",
@@ -51,13 +50,12 @@
5150
# - "张三"
5251
# - "李四"
5352
TICKET_PEOPLES = [
54-
"文贤平",
55-
"李梦云",
53+
"",
5654
]
5755

5856
# 12306登录账号
59-
60-
PWD = "QWERTY"
57+
USER = ""
58+
PWD = ""
6159

6260
# 加入小黑屋时间默认为5分钟,此功能为了防止僵尸票导致一直下单不成功错过正常的票
6361
TICKET_BLACK_LIST_TIME = 5
@@ -80,10 +78,10 @@
8078
# host: "smtp.qq.com"
8179
EMAIL_CONF = {
8280
"IS_MAIL": True,
83-
"email": "[email protected]",
84-
"notice_email_list": "[email protected]",
85-
"username": "[email protected]",
86-
"password": "lwvgfrcydzyvbfjf",
81+
"email": "",
82+
"notice_email_list": "",
83+
"username": "",
84+
"password": "",
8785
"host": "smtp.qq.com",
8886
}
8987

0 commit comments

Comments
 (0)