Closed chun1125 closed 1 year ago
之前有六个账号,再次添加会提示账号已满
之前有六个账号,再次添加会提示账号已满
6个号是限制,防止一个账号同时操作过多的账号,如果想突破该限制请注释这段代码
同步账号时提示: Invalid
prisma.cxAccount.update()
invocation: { where: { uid: undefined, ? AND?: CxAccountWhereInput | CxAccountWhereInput[], ? OR?: CxAccountWhereInput[], ? NOT?: CxAccountWhereInput | CxAccountWhereInput[], ? username?: StringFilter | String, ? password?: StringFilter | String, ? cookies?: JsonNullableListFilter, ? info?: JsonFilter, ? lastLoginTime?: DateTimeFilter | DateTime, ? setting?: JsonFilter, ? userId?: StringFilter | String, ? courses?: CourseListRelationFilter, ? signlogs?: SignLogListRelationFilter, ? User?: UserRelationFilter | UserWhereInput }, data: { lastLoginTime: new Date("2023-09-15T13:20:15.874Z") } } Argumentwhere
of type CxAccountWhereUniqueInput needs at least one ofuid
oruid
arguments. Available options are listed in green.
账号是否有改密?这边初步猜测原因应该是同步的时候执行了重新登录的操作,而账号改密或其他原因导致无法登录获取不到 uid 导致的。
能否详细的描述出现这个问题的所做的步骤?
同步账号时提示: Invalid
prisma.cxAccount.update()
invocation: { where: { uid: undefined, ? AND?: CxAccountWhereInput | CxAccountWhereInput[], ? OR?: CxAccountWhereInput[], ? NOT?: CxAccountWhereInput | CxAccountWhereInput[], ? username?: StringFilter | String, ? password?: StringFilter | String, ? cookies?: JsonNullableListFilter, ? info?: JsonFilter, ? lastLoginTime?: DateTimeFilter | DateTime, ? setting?: JsonFilter, ? userId?: StringFilter | String, ? courses?: CourseListRelationFilter, ? signlogs?: SignLogListRelationFilter, ? User?: UserRelationFilter | UserWhereInput }, data: { lastLoginTime: new Date("2023-09-15T13:20:15.874Z") } } Argumentwhere
of type CxAccountWhereUniqueInput needs at least one ofuid
oruid
arguments. Available options are listed in green.账号是否有改密?这边初步猜测原因应该是同步的时候执行了重新登录的操作,而账号改密或其他原因导致无法登录获取不到 uid 导致的。
能否详细的描述出现这个问题的所做的步骤?
现在正常了
现在正常了
因为我刚刚修改了一下代码 https://github.com/kuizuo/chaoxing-sign/commit/40a6a193af3fc7ab2c6dc8782941825b79270c93 并推送上去了
感谢反馈😉.
同步账号时提示: Invalid
prisma.cxAccount.update()
invocation: { where: { uid: undefined, ? AND?: CxAccountWhereInput | CxAccountWhereInput[], ? OR?: CxAccountWhereInput[], ? NOT?: CxAccountWhereInput | CxAccountWhereInput[], ? username?: StringFilter | String, ? password?: StringFilter | String, ? cookies?: JsonNullableListFilter, ? info?: JsonFilter, ? lastLoginTime?: DateTimeFilter | DateTime, ? setting?: JsonFilter, ? userId?: StringFilter | String, ? courses?: CourseListRelationFilter, ? signlogs?: SignLogListRelationFilter, ? User?: UserRelationFilter | UserWhereInput }, data: { lastLoginTime: new Date("2023-09-15T13:20:15.874Z") } } Argumentwhere
of type CxAccountWhereUniqueInput needs at least one ofuid
oruid
arguments. Available options are listed in green.