mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-02 16:28:39 +08:00
fix atDoc
This commit is contained in:
parent
c3baa0af10
commit
a268a0fa59
@ -235,6 +235,9 @@ func (r Route) JoinedAtDoc() map[string]string {
|
||||
if properties != nil {
|
||||
return properties
|
||||
}
|
||||
if len(r.AtDoc.Text) <= 0 {
|
||||
return nil
|
||||
}
|
||||
m := make(map[string]string)
|
||||
m["atDoc"] = r.AtDoc.Text
|
||||
return m
|
||||
|
Loading…
Reference in New Issue
Block a user