mirror of
https://gitee.com/johng/gf
synced 2026-07-05 21:32:17 +08:00
fix issue #1240
This commit is contained in:
@ -264,7 +264,7 @@ func DataToMapDeep(value interface{}) map[string]interface{} {
|
||||
name = ""
|
||||
fieldTag = rtField.Tag
|
||||
for _, tag := range structTagPriority {
|
||||
if s := fieldTag.Get(tag); s != "" && gregex.IsMatchString(regularFieldNameWithoutDotRegPattern, s) {
|
||||
if s := fieldTag.Get(tag); s != "" {
|
||||
name = s
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user