我使用的是 Python 2.7,我使用 PyZk 与 Linux 操作系统上的 ZKTime(考勤软件)进行通信,我无法使用“卡号”设置用户。在允许在设备中添加用户的方法下,如何为用户添加卡号?
set_user(uid=1, name='Fanani M. Ihsan', privilege=const.USER_ADMIN, password='12345678', group_id='', user_id='123')
谢谢。
我使用的是 Python 2.7,我使用 PyZk 与 Linux 操作系统上的 ZKTime(考勤软件)进行通信,我无法使用“卡号”设置用户。在允许在设备中添加用户的方法下,如何为用户添加卡号?
set_user(uid=1, name='Fanani M. Ihsan', privilege=const.USER_ADMIN, password='12345678', group_id='', user_id='123')
谢谢。
新版本可以做到
https://github.com/fananimi/pyzk
set_user(uid=345, name='', privilege=0, password='', group_id='', user_id='123', card=0)
此回复为大家寻找解决办法