"refactor(controller): 优化Blazingservice返回逻辑,增加Ret方法非空检查"
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user