Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

位置签到validate错误 #30

Closed
TarikVon opened this issue Nov 22, 2023 · 4 comments
Closed

位置签到validate错误 #30

TarikVon opened this issue Nov 22, 2023 · 4 comments

Comments

@TarikVon
Copy link

如题,在我测试位置签到功能时,坐标设置正确,返回错误:课程: 测试 活动: 签到 [位置签到]结果: validate
在课程详情里提示的错误为:
Invalid prisma.signLog.createMany() invocation: { data: [ { id: "4000079911032_240133230", activityId: "4000079911032", isSigned: false, result: "不在可签到范围内", time: new Date("2023-11-22T01:15:03.921Z"), accountId: "240133230" }, { id: "4000079909989_240133230", activityId: "4000079909989", isSigned: false, result: "不在可签到范围内", time: new Date("2023-11-22T01:15:03.921Z"), accountId: "240133230" } ], skipDuplicates: true } Argument activityName is missing.
事实上,坐标定位的经纬度设置应该是没有错的。当我在手机上打开签到界面的时候,此时在服务器中进行位置签到操作,就能签到成功了;但是只要不打开就不能在服务器中签到。

@Hikari31768
Copy link

+1

@kuizuo
Copy link
Owner

kuizuo commented Nov 22, 2023

重新抓包发现多了个参数,目前已修复 5a30a7e

@kuizuo kuizuo closed this as completed Nov 22, 2023
@TarikVon
Copy link
Author

TarikVon commented Nov 22, 2023

经过在本地服务器和 https://cx.kuizuo.cn/ 测试,仍然报了validate错误,本地服务器已添加 validate: '', 参数

@kuizuo
Copy link
Owner

kuizuo commented Nov 22, 2023

see #31 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants