26 lines
553 B
PHP
26 lines
553 B
PHP
<?php
|
|
namespace App\Services\CloudWms;
|
|
|
|
class JstService implements CloudWmsInterface
|
|
{
|
|
protected $appKey;
|
|
protected $appSecret;
|
|
protected $gateway;
|
|
|
|
public function __construct($appKey, $appSecret, $gateway)
|
|
{
|
|
$this->appKey = $appKey;
|
|
$this->appSecret = $appSecret;
|
|
$this->gateway = $gateway;
|
|
}
|
|
|
|
public function pushPurchaseOrder($poData)
|
|
{
|
|
// 实现聚水潭推送采购单逻辑
|
|
}
|
|
|
|
public function queryStock($skuCode, $warehouseCode)
|
|
{
|
|
// 实现库存查询
|
|
}
|
|
} |