描述解析支持dc标签,适配gf框架风格习惯
This commit is contained in:
@ -50,7 +50,7 @@ func (psf parseStructFieldTag) GetParamName(structField reflect.StructField) str
|
||||
//
|
||||
// Date : 22:01 2025/2/11
|
||||
func (psf parseStructFieldTag) GetParamDesc(structField reflect.StructField) string {
|
||||
descTagList := []string{define.TagDesc, define.TagDescription}
|
||||
descTagList := []string{define.TagDc, define.TagDesc, define.TagDescription}
|
||||
for _, tag := range descTagList {
|
||||
tagVal := structField.Tag.Get(tag)
|
||||
if tagVal != "" {
|
||||
|
Reference in New Issue
Block a user