min-radish / php-uupt
PHP对UU跑腿API的调用
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/min-radish/php-uupt
Requires
- php: >=7.0.0
- min-radish/php-curl: ~1.2
This package is auto-updated.
Last update: 2025-10-16 12:59:40 UTC
README
PHP 对UU跑腿接口的调用
需自定义一个类并继承 Radish\Uupt\Uupt重写构造函数进行相关配置
<?php
/**
* UU跑腿
* @authors
* @date
*/
namespace common\helper;
class Uupt extends \Radish\Uupt\Uupt
{
public function __construct(array $options = [])
{
if (!$options) {
$options = config('uupt.'); //thinkphp5.1 config函数
}
parent::__construct($options);
}
}