feat: 优化控制台输出 + 修复请求BUG
This commit is contained in:
@@ -78,7 +78,10 @@ func (s *server) RequestHandler(uriCfg UriConfig) gin.HandlerFunc {
|
||||
return
|
||||
}
|
||||
// 表单数据
|
||||
inputValue := reflect.ValueOf(formValue).Elem()
|
||||
inputValue := reflect.ValueOf(formValue)
|
||||
if !uriCfg.ParamIsPtr {
|
||||
inputValue = inputValue.Elem()
|
||||
}
|
||||
|
||||
// 注入公共参数
|
||||
if err = s.injectCommonParam(ctx, inputValue); nil != err {
|
||||
|
||||
Reference in New Issue
Block a user