- 按 docs/renew-code-comment.md 将 PHP 文件头改为带边框的 Author 注释\n- 注释中的 crmeb.com 替换为 uj345.cn(代码字符串中的外链未改)\n- 新增 docs/renew-code-comment.md 说明 Made-with: Cursor
35 lines
779 B
PHP
35 lines
779 B
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | Author: ScottPan Team
|
|
// +----------------------------------------------------------------------
|
|
|
|
namespace crmeb\services\template;
|
|
|
|
use crmeb\basic\BaseManager;
|
|
use think\facade\Config;
|
|
|
|
/**
|
|
* Class Template
|
|
* @package crmeb\services\template
|
|
* @mixin \crmeb\services\template\storage\Wechat
|
|
* @mixin \crmeb\services\template\storage\Subscribe
|
|
*/
|
|
class Template extends BaseManager
|
|
{
|
|
|
|
/**
|
|
* 空间名
|
|
* @var string
|
|
*/
|
|
protected string $namespace = '\\crmeb\\services\\template\\storage\\';
|
|
|
|
/**
|
|
* 设置默认
|
|
* @return mixed
|
|
*/
|
|
protected function getDefaultDriver()
|
|
{
|
|
return Config::get('template.default', 'wechat');
|
|
}
|
|
}
|