Grpc_swagger
1.下载grpc_swagger.jar 包,下载地址:https://github.com/grpc-swagger/grpc-swagger
2.运行:用Git
{
"code": 1,
"data": [
{
"service": "upids.CustomerService",
"endPoint": "127.0.0.1:9588"
}
]
}
调用方法:saveProductByCode
url:127.0.0.1:8888/upids.CustomerService.saveProductByCode
发现grpc可以调通了 !!