cblink / xiaowm
Installs: 1 883
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- hanson/foundation-sdk: ^2.0
This package is not auto-updated.
Last update: 2024-11-05 23:57:24 UTC
README
$app = new Cblink\Xiaowm\Printer([ 'app_key' => '应用编号', 'printers' => [ // 配置多个打印机 'office-01' => [ 'number' => '打印机编号', 'token' => '打印机 Token', ], ], ]);
获取打印机状态 $app->getStatus('office-01')
打印消息 sendMessage('office-01', string $text)
获取消息打印状态 getMessageStatus('office-01', $messageId)
打印机授权 authorize('office-01', $password, array $extends = [])
删除打印机 delete('office-01')