完善序列化的格式

This commit is contained in:
huangsimin@fusen.cn 2023-12-07 17:29:33 +08:00
parent 72c2c7b221
commit 3facd54499

View File

@ -10,6 +10,7 @@ import (
{{if eq .MethodType "rpc"}}
func (l *{{.StructName}}) {{.MethodName}}Logic({{range $index, $param := .Params}}{{if $index}}, {{end}}{{$param}}{{end}}) (resp {{.MethodReturn}},err error) {
resp = &{{.MethodResponse}}{}
return resp, nil
}