Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tychxn committed Mar 1, 2019
1 parent 2faef27 commit 42f4b3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

asst = Assistant() # 初始化
asst.login_by_QRcode() # 扫码登陆
asst.exec_seckill_by_time(sku_id='100002852990', buy_time='2019-02-19 09:59:59.500', retry=10, interval=4)
# 5个参数
# sku_id: 商品id
asst.exec_seckill_by_time(sku_ids='100002852990', buy_time='2019-02-19 09:59:59.500', retry=10, interval=4)
# 5个参数
# sku_ids: 商品id,多个商品id用逗号进行分割,如"123,456,789"
# buy_time: 下单时间,例如:'2019-02-19 09:59:59.500'
# retry: 抢购重复执行次数,可选参数,默认4次
# interval: 抢购执行间隔,可选参数,默认4秒
Expand Down
2 changes: 1 addition & 1 deletion timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import time
from datetime import datetime

from jd_tools import get_current_time
from util import get_current_time


class Timer(object):
Expand Down

0 comments on commit 42f4b3f

Please sign in to comment.