TODO 各种格式

This commit is contained in:
eson
2023-07-06 19:47:27 +08:00
parent 3b462edc89
commit 70fd711fa5
3 changed files with 25 additions and 14 deletions

View File

@@ -193,12 +193,6 @@ func RequestFileParse(r *http.Request, req any) error {
field := reqValue.Field(i)
// aa1:
// field.Field(0).Set(fheader.Filename)
// field.Field(1).Set( fheader.Header)
// field.Field(2).Set( fheader.Size)
// field.Field(3).Set( data)
if field.Kind() == reflect.Ptr {
if field.IsNil() {
fsfile := reflect.New(field.Type().Elem())