修复对外输出扩展数据
This commit is contained in:
parent
29b0eaa6b3
commit
01c2fdf5a2
@ -54,6 +54,7 @@ func ConvertDefaultConfig(cfg *HttpHandleConfig) {
|
|||||||
// Date : 16:55 2024/7/23
|
// Date : 16:55 2024/7/23
|
||||||
func GetHttpHandleConfig() *HttpHandleConfig {
|
func GetHttpHandleConfig() *HttpHandleConfig {
|
||||||
return &HttpHandleConfig{
|
return &HttpHandleConfig{
|
||||||
|
EnableExtensionOutput: inputHttpHandleConfig.EnableExtensionOutput,
|
||||||
RequestIDField: wrapper.TernaryOperator.String(
|
RequestIDField: wrapper.TernaryOperator.String(
|
||||||
nil == inputHttpHandleConfig || inputHttpHandleConfig.RequestIDField == "",
|
nil == inputHttpHandleConfig || inputHttpHandleConfig.RequestIDField == "",
|
||||||
consts.GinRequestIDField,
|
consts.GinRequestIDField,
|
||||||
|
Loading…
Reference in New Issue
Block a user