From 6c313904137556dba03709dfa167f55d75dc61a5 Mon Sep 17 00:00:00 2001 From: wuliangbo Date: Thu, 4 Aug 2022 17:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9B=B4=E6=96=B0=E5=95=86?= =?UTF-8?q?=E5=AE=B6=E6=8E=A5=E5=8F=A3=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MiniProgram/Shop/Account/Client.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/MiniProgram/Shop/Account/Client.php b/src/MiniProgram/Shop/Account/Client.php index 1988e7e..90b705e 100644 --- a/src/MiniProgram/Shop/Account/Client.php +++ b/src/MiniProgram/Shop/Account/Client.php @@ -39,18 +39,14 @@ class Client extends BaseClient /** * 更新商家信息 * - * @param string $path 小程序path - * @param string $phone 客服联系方式 + * @param array $param * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException * @throws \GuzzleHttp\Exception\GuzzleException */ - public function updateInfo(string $path = '', string $phone = '') + public function updateInfo(array $param) { - return $this->httpPostJson('shop/account/update_info', [ - 'service_agent_path' => $path, - 'service_agent_phone' => $phone, - ]); + return $this->httpPostJson('shop/account/update_info', $param); } /**