将有卡号的用户添加到 ZKTime 设备
Add user with card numer to ZKTime Device
我正在使用 Python 2.7,我在 Linux OS 上使用 PyZk 与 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)
此回复为大家搜索解决方法
我正在使用 Python 2.7,我在 Linux OS 上使用 PyZk 与 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)
此回复为大家搜索解决方法