PHP code example of chent / union-jd
1. Go to this page and download the library: Download chent/union-jd library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
chent / union-jd example snippets
use UnionJd\Client;
$jd = new Client([
'app_key' => 'xxx',
'secret_key' => 'xxx'
]);
$rs = $jd->order->query(['time' => '2019041610']);
// echo $jd->getError();