Skip to content
Snippets Groups Projects
Commit 6108b0be authored by tiecheng's avatar tiecheng
Browse files

struct javaclassname dubbo

parent fb86fc9f
No related branches found
No related tags found
No related merge requests found
......@@ -489,6 +489,10 @@ func getArgType(v interface{}) string {
}
switch t.Kind() {
case reflect.Struct:
v, ok := v.(hessian.POJO)
if ok {
return v.JavaClassName()
}
return "java.lang.Object"
case reflect.Slice, reflect.Array:
if t.Elem().Kind() == reflect.Struct {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment