Browse Source

增加自定义交易组件 接口

master v1.0.4
wuliangbo 2 years ago
parent
commit
6f02869a13
  1. 26
      src/MiniProgram/Shop/Order/Client.php

26
src/MiniProgram/Shop/Order/Client.php

@ -154,4 +154,30 @@ class Client extends BaseClient
{ {
return $this->httpPostJson('shop/order/get_list_by_sharer', $params); 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);
}
} }

Loading…
Cancel
Save