andyliu/wdgjapi

There is no license information available for the latest version (1.1.0) of this package.

网店管家api接口

1.1.0 2017-04-20 07:36 UTC

This package is not auto-updated.

Last update: 2022-09-23 10:02:13 UTC


README

安装

install with composer

composer require andyliu/wdgjapi

使用

例子

require './vendor/autoload.php';
use wdgjapi;
$data = array(
    'method'=>'wdgj.erp.stock.query',
    'accesstoken'=>'accesstoken',
    'appkey'=>'appkey',
    'page_no'=>1,
    'page_size'=>10,
    'url'=>'http://api.wdgj.com/wdgjcloud/api',
    'app_secret'=>'app_secret',
    'BarCode'=>'1111'
);
echo '<pre>';
$wdgjapi = new wdgjapi\wdgjapi($data);

$r = $wdgjapi->send();
var_dump($r);
exit;

注意

目前测试了下面两个接口 其他接口兼容性没有做验证

  • wdgj.erp.stock.query
  • wdgj.com.goods.create