for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the overtrue/wechat.
*
* (c) overtrue <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace EasyWeChat\MiniProgram\Logistics;
use EasyWeChat\Kernel\BaseClient;
/**
* Class Client.
* @author kehuanhuan <[email protected]>
class Client extends BaseClient
{
* @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
public function getAllExpress()
return $this->httpGet('cgi-bin/express/business/delivery/getall');
}
* @param array $data
public function addOrder(array $data = [])
return $this->httpPostJson('cgi-bin/express/business/order/add', $data);
public function cancelOrder(array $data = [])
return $this->httpPostJson('cgi-bin/express/business/order/cancel', $data);
public function getOrder(array $data = [])
return $this->httpPostJson('cgi-bin/express/business/order/get', $data);