本地调用spring中类和方法
参数为简单案例
{"name" : "runMethodProcess","service" : "processDataSource","method" : "getDataSource","input" : {"projectId" : 3,"code" : "testLoop2"},"inputType" : {"projectId" : "Long"}}
对应类和方法public List
{"name" : "runMethodProcess","service" : "redisDtSource","method" : "query","input" : {"dtQuery" : {"dbIndex" : 6,"key" : "data:seo:ip:valid:bak1","hashKeys" : ["218.2.226.42","27.191.234.69","222.223.182.66"]}},"inputType" : {"dtQuery" : "com.manatee.lowcode.domain.DtQuery"}}
对应类和方法public Map
返回结果
{"data" : {"list_data" : {"218.2.226.42" : "80","222.223.182.66" : "8000","27.191.234.69" : "9999"}},"errorCode" : 0}
说明:
1)inputType不指定时,以json格式,如字符串格式,Integer格式等
2)在参数为对方案例中需要指定inputType为完整的类名
