Skip to content

wored/WangDianTongSdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

旺店通接口SDK

安装

$ composer require wored/wangdiantong-sdk -vvv

使用

<?php
use \Wored\WangDianTongSdk\WangDianTongSdk;

$config = [
    "log"       => [
        "file"       => "../storage/logs/Wangdiantong.log",
        "name"       => "Wangdiantong",
        "level"      => "debug",
        "permission" => 777
    ],
    "sid"       => "******",
    "debug"     => false,
    "appkey"    => "***************",
    "rootUrl"   => "https://sandbox.wangdian.cn",
    "appsecret" => "************"
];
//旺店通SDK
$wdt = new WangDianTongSdk($config);
//获取店铺
$ret = $wdt->request('shop');

License

MIT

About

旺店通接口SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages