lostinfo / jos-open-api
Jos PHP Open Api SDK
1.2
2019-06-11 06:14 UTC
Requires
- php: >=5.6
This package is auto-updated.
Last update: 2024-12-12 22:23:07 UTC
README
src/request 目录文件过多,不建议composer使用,可部分下载导入使用
示例
jingdong.category.read.findValuesByAttrIdUnlimit
根据venderId等条件加密查询订单总数
- 请求参数
$client = new \Lostinfo\JosOpenApi\JdClient();
$client->appKey = 'you appKey';
$client->appSecret = 'you appSecret';
$client->accessToken = 'you accessToken';
$req = new \Lostinfo\JosOpenApi\request\CategoryReadFindValuesByAttrIdUnlimit();
$req->setCategoryAttrId('you category attr id');
$req->setFields('id,attId');
$resp = $client->execute($req, 'you accessToken');
var_export($resp);