- 按 docs/renew-code-comment.md 将 PHP 文件头改为带边框的 Author 注释\n- 注释中的 crmeb.com 替换为 uj345.cn(代码字符串中的外链未改)\n- 新增 docs/renew-code-comment.md 说明 Made-with: Cursor
63 lines
1.1 KiB
PHP
63 lines
1.1 KiB
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | Author: ScottPan Team
|
|
// +----------------------------------------------------------------------
|
|
|
|
namespace crmeb\services\template\storage;
|
|
|
|
|
|
use crmeb\basic\BaseMessage;
|
|
|
|
class Baidu extends BaseMessage
|
|
{
|
|
/**
|
|
* 初始化
|
|
* @param array $config
|
|
* @return mixed|void
|
|
*/
|
|
protected function initialize(array $config)
|
|
{
|
|
parent::initialize($config); //
|
|
}
|
|
|
|
/**
|
|
* 发送模板消息
|
|
* @param string $templateId
|
|
* @param array $data
|
|
* @return mixed|void
|
|
*/
|
|
public function send(string $templateId, array $data = [])
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* 添加模板消息
|
|
* @param string $shortId
|
|
* @return mixed|void
|
|
*/
|
|
public function add(string $shortId)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* 删除模板消息
|
|
* @param string $templateId
|
|
* @return mixed|void
|
|
*/
|
|
public function delete(string $templateId)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* 模板消息列表
|
|
* @return mixed|void
|
|
*/
|
|
public function list()
|
|
{
|
|
//
|
|
}
|
|
}
|