grpc优化

This commit is contained in:
暮光:城中城
2019-04-05 21:55:18 +08:00
parent 0e0f512571
commit a6c1360593
9 changed files with 201 additions and 119 deletions

View File

@@ -312,11 +312,12 @@
},
requestExecute() {
var fuc = app.grpcInfo.function;
var docService = app.grpcInfo.docService;
var service = fuc.substring(0, fuc.lastIndexOf("."));
var method = fuc.substring(fuc.lastIndexOf(".") + 1, fuc.length);
var paramColumnRequest = JSON.stringify(JSON.parse(app.paramColumnRequest));
var param = {
service: service,
docService: docService,
method: method,
params: paramColumnRequest,//JSON.stringify(params),
};