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
// 3. Implemenation the RPC Interface// Put your implementation code under ${app_root}/app/rpc folder// ${app_root}/app/rpc/ProtoService.jsexports.echoObj=asyncfunction(req){return{code: 200,message: 'hello '+req.name+', you are in '+req.group,};};
根据这个例子来看我好像无法调用service, 那我该如何复用service的逻辑呢?
The text was updated successfully, but these errors were encountered:
我看到您的文档中给出了下面这段例子来说明如何定义rpc server:
根据这个例子来看我好像无法调用service, 那我该如何复用service的逻辑呢?
The text was updated successfully, but these errors were encountered: