|
@@ -2,6 +2,7 @@ package rest_gorm
|
|
|
|
|
|
import (
|
|
import (
|
|
"fmt"
|
|
"fmt"
|
|
|
|
+ "log"
|
|
"reflect"
|
|
"reflect"
|
|
|
|
|
|
"git.ali33.ru/fcg-xvii/go-tools/json"
|
|
"git.ali33.ru/fcg-xvii/go-tools/json"
|
|
@@ -83,6 +84,7 @@ func (s *List) Result(pg *gorm.DB, fields rest.FieldNamesList, res any) (count i
|
|
err = rest.ErrorFiled("ErrDB", pg.Error.Error())
|
|
err = rest.ErrorFiled("ErrDB", pg.Error.Error())
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ log.Println(res)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|