荔枝i子SDK 要安装: composer require lichi/vk-iiko-sdk 抓斗系统操作简单 include "vendor/autoload.php"; use Lichi\Iiko\Sdk\IIKOCloud\IIKOCloud; use Lichi\Iiko\ApiProvider; use GuzzleHttp\Client; $client = new Client([ 'base_uri' => "https://api-ru.iiko.services", 'verify' => false, 'timeout' => 30.0, ]); $apiProvider = new ApiProvider($client, getenv('API_KEY')); $iikoCloud = new IIKOCloud($apiProv