26 lines
359 B
Markdown
26 lines
359 B
Markdown
|
# 德木自动化项目开放接口SDK
|
|||
|
|
|||
|
# 介绍
|
|||
|
用于德木自动化对外开放接口数据交互
|
|||
|
|
|||
|
# 要求
|
|||
|
- php版本:>=7.0
|
|||
|
|
|||
|
# 安装
|
|||
|
|
|||
|
```php
|
|||
|
composer require ykxiao/dmmes
|
|||
|
```
|
|||
|
|
|||
|
# 使用
|
|||
|
|
|||
|
```php
|
|||
|
$secretKey = 'gFBfirGATxafTeq74RAngaL74Ksdxhuy';
|
|||
|
|
|||
|
$w = new Order($secretKey);
|
|||
|
|
|||
|
// 获取工单数据
|
|||
|
|
|||
|
$response = $w->getProductOrder('SN5436745676543');
|
|||
|
```
|