refactor(controller): 重构返回处理逻辑,移除TomeeHeader的Ret方法并改为直接返回[]byte

This commit is contained in:
1
2025-07-25 07:46:31 +00:00
parent 43dc9394c5
commit b0ffe1e7f0
7 changed files with 24 additions and 42 deletions

View File

@@ -11,9 +11,9 @@ type SystemTimeInfo struct { //这里直接使用组合来实现将传入的原
}
func (s *SystemTimeInfo) Def() { //默认返回方法
func (s *SystemTimeInfo) Def()[]byte { //默认返回方法
s.Head.Set(NewSystemTimeOutboundInfo) //返回传参
return s.Head.Pack(NewSystemTimeOutboundInfo) //返回传参
}