|
|
|
@ -39,18 +39,14 @@ class Client extends BaseClient
@@ -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); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|