You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
438 B
24 lines
438 B
<?php
|
|
|
|
namespace toutiao\mptoutiao;
|
|
|
|
class Base
|
|
{
|
|
protected $config;
|
|
|
|
// 正式地址
|
|
protected $url = 'https://developer.toutiao.com/api/apps/v2/';
|
|
// 沙盒地址
|
|
// protected $url = 'https://open-sandbox.douyin.com/api/apps/v2/';
|
|
|
|
/**
|
|
* 构造函数
|
|
* @date 2022-10-19
|
|
*/
|
|
public function __construct(array $data = [])
|
|
{
|
|
// 基础配置参数
|
|
$this->config = $data;
|
|
}
|
|
|
|
} |