ydg/tongcheng-sdk

tongcheng cps sdk

v1.0.0 2025-02-13 10:00 UTC

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,
]);