|
|
@ -38,6 +38,19 @@ class Client extends BaseClient |
|
|
|
return $this->httpPostJson('shop/ecaftersale/get', $order); |
|
|
|
return $this->httpPostJson('shop/ecaftersale/get', $order); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 获取售后单详情 |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param array $order |
|
|
|
|
|
|
|
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
|
|
|
|
|
|
|
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
|
|
|
|
|
|
|
* @throws \GuzzleHttp\Exception\GuzzleException |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public function getDetails(array $order) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return $this->httpPostJson('shop/aftersale/get', $order); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 更新售后 |
|
|
|
* 更新售后 |
|
|
|
* |
|
|
|
* |
|
|
@ -92,7 +105,19 @@ class Client extends BaseClient |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 商家同意退款|商家同意退货 |
|
|
|
* 商家同意退货 |
|
|
|
|
|
|
|
* @param array $data |
|
|
|
|
|
|
|
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
|
|
|
|
|
|
|
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException |
|
|
|
|
|
|
|
* @throws \GuzzleHttp\Exception\GuzzleException |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public function acceptReturn(array $data) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return $this->httpPostJson('shop/ecaftersale/acceptreturn', $data); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 商家同意退款 |
|
|
|
* |
|
|
|
* |
|
|
|
* @param array $data |
|
|
|
* @param array $data |
|
|
|
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
|
|
|
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string |
|
|
|