Skip to content

南航问题 #28

@amudream

Description

@amudream

请教一下南航token的有效期以及报错原因,【token】用【南航token】代替了

京东pt_pin和pt_key需同时传入!!!

/ql/data/scripts/Litre-WU_Sign/sign.py:126: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.

    Read more about it in the
    [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).

@app.on_event("startup")
/ql/data/scripts/Litre-WU_Sign/sign.py:143: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.

    Read more about it in the
    [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).

@app.on_event("shutdown")
2024-07-17 01:05:45.037 | INFO | main:csairSign:419 - a40880b1-4885-188f-8884-6788841bc5ce
2024-07-17 01:05:45.298 | ERROR | main:csairSign:428 - 南航签到程序异常 'NoneType' object is not subscriptable
2024-07-17 01:05:45.300 | INFO | main:csairSign:430 - {'code': 400, 'msg': "南航签到程序异常 {'token': '南航token'}", 'time': 1721149544}
2024-07-17 01:05:45.612 | INFO | main:csairSign:461 - {'code': 200, 'msg': "南航用户:南航token 当月 ['2024-07-15', '2024-07-16', '2024-07-17'] 已签到", 'time': 1721149544}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions