You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
感谢,这样就简单好多了
在 2024-04-28 14:06:56,"汪小哥" ***@***.***> 写道:
#71 参考一下这个 复杂参数调用 使用Json 转换为具体的类信息
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
就像下面这样使用,其中
JSONObject.parseObject
是想把字符串
给变成一个入参对象,这样就方便使用了。ognl -x 3 '#req = com.alibaba.fastjson.JSONObject.parseObject('{"desc":true,"buyerNick":"嗯嗯","authorizerAppId":"cdd99f9c25724c67a4549e3e427f2d9d","index":1,"offset":0,"pageNum":1,"pageSize":100,"pages":0,"size":10,"span":10,"total":0,"openId":"3104620296282989"}', com.itqiankun.api.request.TradeRequest.class),#springContext=@com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory@contexts.iterator.next,#springContext.getBean("tradeService").queryList(#req)' -c 21b8d17c
The text was updated successfully, but these errors were encountered: