PHP code example of mylarge / jdkd

1. Go to this page and download the library: Download mylarge/jdkd 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/ */

    

mylarge / jdkd example snippets


// 创建客户端
$client=new Jdkd(self::$jdAppKey, self::$jdAppSecret,self::$access_token,self::$base_url,self::$domain);
// 创建接口请求对象
$response = $client::JdOrder(self::$path,self::$body);