1、连接dubbo服务
telnet ip 端口号
比如:dubbo的端口你配置的是20980
连接本地: telnet localhost 20980
连接之后,输入ls进入dubbo命令行,然后invoke接口进行调试了
2、传入单独参数实例
dubbo>invoke com.kaishustory.userx.api.UserInfoService.multiGetUserInfo([116,117])
3、对于传对象实例
invoke com.kaishustory.vesta.api.IVirtualCouponsGenerateService.updateVirtualCoupon({"couponCode":"77821157","couponName":"test","useScopeType":1,"useScopeValue":"1340","couponValue":"10","useMinPrice":"1000","validityType":1,"validityStart":"0","validityEnd":"0","validDays":5,"description":"kaishujss","remind":"0","remindMessage":null,"remindTitle":null,"openType":"mama","pageUrl":"www.ksjgs.com","class":"com.kaishustory.vesta.api.request.VirtualCouponGenerateRequest"})