Browse Source

增加获取售后详情接口

master v1.0.7
wuliangbo 2 years ago
parent
commit
91a43e6c87
  1. 27
      src/MiniProgram/Shop/Aftersale/Client.php

27
src/MiniProgram/Shop/Aftersale/Client.php

@ -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

Loading…
Cancel
Save