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

多人打卡代码有问题 #55

Closed
zhazhalaila opened this issue Jan 27, 2021 · 1 comment
Closed

多人打卡代码有问题 #55

zhazhalaila opened this issue Jan 27, 2021 · 1 comment

Comments

@zhazhalaila
Copy link

看了一下,打卡时都用的同一个人的deviceId,只有第一个人能打卡成功

开始尝试为用户xxxx打卡
{
	"msg":"成功",
	"code":"10000",
	"data":1
}
10:25:22 xxxx打卡成功
-----------------------
开始尝试为用户xxxx打卡
getUserInfo ERR,Retry......
getUserInfo ERR,Retry......
getUserInfo ERR,Retry......
@YooKing
Copy link
Collaborator

YooKing commented Jan 27, 2021

token = campus.campus_start(phone[index],password[index],deviceId[index])
def create_info(deviceId):
    rsa_keys = create_key_pair(1024)
    deviceId = deviceId
    public_key = rsa_keys[0]
    private_key = rsa_keys[1]
    return deviceId, public_key, private_key

已改

@YooKing YooKing closed this as completed Jan 27, 2021
@YooKing YooKing reopened this Jan 27, 2021
@YooKing YooKing closed this as completed Jan 28, 2021
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

2 participants