fix 修复潜在索引越限问题

This commit is contained in:
孟帅
2024-05-09 11:25:05 +08:00
parent dc20a86b33
commit 817482bedb
2 changed files with 4 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ func (m *MsgParser) RegisterRPCRouter(routers ...interface{}) (err error) {
// RegisterInterceptor 注册拦截器
func (m *MsgParser) RegisterInterceptor(interceptors ...Interceptor) {
m.interceptors = append(interceptors, interceptors...)
m.interceptors = append(m.interceptors, interceptors...)
}
// Encoding 消息编码