|
@@ -149,6 +149,7 @@ func fieldVal(val reflect.Value, fieldName string, files RequestFiles, names ...
|
|
}
|
|
}
|
|
if !field.IsValid() {
|
|
if !field.IsValid() {
|
|
log.Println("invalid")
|
|
log.Println("invalid")
|
|
|
|
+ log.Printf("%T\n", val)
|
|
if f, check := val.Interface().(IFieldChecker); check {
|
|
if f, check := val.Interface().(IFieldChecker); check {
|
|
log.Println("ifieldchecker")
|
|
log.Println("ifieldchecker")
|
|
if check := f.RestFieldCheck(fieldName); check {
|
|
if check := f.RestFieldCheck(fieldName); check {
|