mirror of
https://gitee.com/niucloud-team/niucloud
synced 2026-08-13 07:55:41 +08:00
update code
This commit is contained in:
@@ -15,14 +15,14 @@ use core\loader\Storage;
|
||||
|
||||
/**
|
||||
* Class BaseTemplate
|
||||
* @package
|
||||
* @package
|
||||
*/
|
||||
abstract class BaseTemplate extends Storage
|
||||
{
|
||||
/**
|
||||
* 初始化
|
||||
* @param array $config
|
||||
* @return mixed|void
|
||||
* @return void
|
||||
*/
|
||||
protected function initialize(array $config = [])
|
||||
{
|
||||
@@ -30,7 +30,6 @@ abstract class BaseTemplate extends Storage
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 发送模板消息
|
||||
* @return mixed
|
||||
@@ -39,14 +38,14 @@ abstract class BaseTemplate extends Storage
|
||||
|
||||
/**
|
||||
* 增加模板消息
|
||||
* @param string $shortId
|
||||
* @param array $data
|
||||
* @return mixed
|
||||
*/
|
||||
abstract protected function addTemplate(array $data);
|
||||
|
||||
/**
|
||||
* 删除消息模板
|
||||
* @param string $templateId
|
||||
* @param array $data
|
||||
* @return mixed
|
||||
*/
|
||||
abstract protected function delete(array $data);
|
||||
|
||||
Reference in New Issue
Block a user