diff --git a/src/MiniProgram/Shop/Order/Client.php b/src/MiniProgram/Shop/Order/Client.php index 81a4cac..70d62be 100644 --- a/src/MiniProgram/Shop/Order/Client.php +++ b/src/MiniProgram/Shop/Order/Client.php @@ -154,4 +154,30 @@ class Client extends BaseClient { return $this->httpPostJson('shop/order/get_list_by_sharer', $params); } + + /** + * 更改订单价格 + * + * @param array $params + * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string + * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException + * @throws \GuzzleHttp\Exception\GuzzleException + */ + public function changePrice(array $params) + { + return $this->httpPostJson('shop/order/change_price', $params); + } + + /** + * 更新订单地址 + * + * @param array $params + * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string + * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException + * @throws \GuzzleHttp\Exception\GuzzleException + */ + public function updateAddress(array $params) + { + return $this->httpPostJson('shop/order/update_address', $params); + } }