ydg / tongcheng-sdk
tongcheng cps sdk
v1.0.0
2025-02-13 10:00 UTC
Requires
- php: ^7.0|^8.0
- ext-json: *
- ydg/foudation-sdk: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.12
- phpunit/phpunit: ^9.5
- vlucas/phpdotenv: ^5.5
This package is auto-updated.
Last update: 2025-03-13 10:08:05 UTC
README
let php developer easier to access tongcheng cps api
Install the latest version with
$ composer require ydg/tongcheng-sdk
Basic Usage
<?php use Ydg\TCSdk\TC; (new TC())->activityOrder->list([ 'appId' => 'your appId', 'begin_date' => date('Y-m-d H:i:s', time() - 3600), 'end_date' => date('Y-m-d H:i:s'), 'update' => 1, 'page_index' => 0, 'page_size' => 10, ]);