From 6f02869a138bf1b86f2f6edc9b792d82cc3cabcb Mon Sep 17 00:00:00 2001 From: wuliangbo Date: Tue, 2 Aug 2022 16:34:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E4=BA=A4=E6=98=93=E7=BB=84=E4=BB=B6=20=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MiniProgram/Shop/Order/Client.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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); + } }