Skip to content

个例用户的抽卡结果展示为空白 #28

Description

@AthenaHibou

6fb0ec6289bf8fffa40bb276294a6101

原因是个别用户的方舟id是0开头的
D1D0486A123016B2BC70C339BAB98105
而作者大大ark_db.py的250行的查询语句忘记用单引包装了,会导致查库抹除首位,改一下就好了

    count_sql = f"select count(*) from {ark_record_table} where {user_id_field} = {self.user_id}" 

--> count_sql = f"select count(*) from {ark_record_table} where {user_id_field} = '{self.user_id}'"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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