Download the PHP package opensdk/meituan without Composer
On this page you can find all versions of the php package opensdk/meituan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package meituan
opensdk-meituan
介绍
本类库是对美团开放平台API的封装
使用示例
require 'vendor/autoload.php';
use OpenSDK\Meituan\Client;
use OpenSDK\Meituan\Requests\MeituanOrdersQueryGetRequest;
$c = new Client();
$c->appKey = $this->appKey;
$c->appSecret = $this->appSecret;
$c->gatewayUrl = $this->url;
$req = new MeituanOrdersQueryGetRequest();
$oid = '';
//订单id
$req->setOid($oid);
//平台唯一标识
$req->setSid('326c433346a4760ef5e2');
$req->setType(4);
$c->execute($req);
$response = $c->result();
if(empty($response) || !isset($response[0]['order']['orderid'])){
echo '无结果';exit;
}
var_dump($response);exit;
All versions of meituan with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
The package opensdk/meituan contains the following files
Loading the files please wait ....