"refactor(controller): 优化Blazingservice返回逻辑,增加Ret方法非空检查"

This commit is contained in:
1
2025-07-15 21:16:15 +00:00
parent 280cd58017
commit f7eb29523d

View File

@@ -211,7 +211,7 @@ func Recv(c gnet.Conn, data handler.TomeeHeader) {
// }
t, ok := ptrValue1.Interface().(entity.Blazingservice)
if ok {
if ok&&t.Ret() != nil {
r.SendPack(t.Ret())
t.Ret()
}