增加接口的默认实现

This commit is contained in:
2023-02-02 16:41:30 +08:00
parent b6c4601860
commit 04fed6ffbd
4 changed files with 76 additions and 7 deletions

View File

@ -17,13 +17,6 @@ import (
//
// Date : 14:06 2023/2/1
type IPreSendHandler interface {
// GetEventID 为每一条事件生成唯一的ID, 此方法若返回空值, 则会自动生成一个随机的md5字符串作为事件ID
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 14:10 2023/2/1
GetEventID() string
// GetRequestParam 构造 base info 时, 可能需要从请求参数中提取公共数据
//
// Author : go_developer@163.com<白茶清欢>