Merge pull request #3926 from ioito/hotfix/qx-db-dispatcher-call

fix: stack overflow
This commit is contained in:
Zexi Li
2019-11-27 13:47:42 +08:00
committed by GitHub
+1 -1
View File
@@ -52,7 +52,7 @@ func (c *Caller) Call() ([]reflect.Value, error) {
}
func call(obj interface{}, fName string, inputs ...interface{}) ([]reflect.Value, error) {
return call(reflect.ValueOf(obj), fName, inputs...)
return callObject(reflect.ValueOf(obj), fName, inputs...)
}
func callObject(modelVal reflect.Value, fName string, inputs ...interface{}) ([]reflect.Value, error) {