Blame view

addons/antis/library/wework/examples/checkin.php 356 Bytes
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?php

  

  $app = require __DIR__ . '/app.php';

  

  /** @var \WeWork\Api\CheckIn $checkIn */

  $checkIn = $app->get('checkIn');

  

  try {

      $checkIn->getOption(1511971200, ['james', 'paul']);

  } catch (Exception $e) {

  }

  

  try {

      $checkIn->getData(\WeWork\Api\CheckIn::TYPE_ALL, 1492617600, 1492790400, ['james', 'paul']);

  } catch (Exception $e) {

  }