vault backup: 2026-01-05 13:03:55

This commit is contained in:
windyboy
2026-01-05 13:03:55 +08:00
parent 21460fc35d
commit be7c6cdcc9
589 changed files with 396508 additions and 27 deletions
+26
View File
@@ -0,0 +1,26 @@
login by wexin qrcode
login id generate:
```python
def generate_qr_login_id():
"""
Generate a unique id for qr code login
word-by-word copied from js code
"""
rand_str = f"{int(time.time() * 1000)}{random.random()}"
return md5(rand_str.encode()).hexdigest()
```
generated:
```id
607d21bf2f06142e52d2057de49eed8d
```