<?php
class Uber{
protected $token;
protected $scope;//token类型
protected $redis;
protected $uri = '';
public $prefix = 'UBER:';
public $times = 5;
public $login_api = 'https://login.uber.com/oauth/v2/token';//登录验证
public $api_host = 'https://api.uber.com';
public $url_relation = [
//获取店铺状态【同步】
'getStoreStatus' => [
'method' => 'get',
'uri' => '/v1/eats/store/store_id/status',
'scope' => 'eats.store'
],
//获取店铺节假日休息时间【同步】
'getHolidayHours' => [
'method' => 'get',
'uri' => '/v1/eats/stores/store_id/holiday-hours',
'scope' => 'eats.store'
],
//设置节假日休息时间【同步】
&
优步外卖(Ubereat)接口请求封装-全球uberapix
于 2021-07-03 11:39:49 首次发布