UNPKG

apinode

Version:

An API server that can greatly reduce the work needed to implment API services. It can also cooperate with other API node to make it a mesh of services.

13 lines (12 loc) 261 B
exports.run = function(rt, cb) { var app = rt.app, rtnData = { appCode: app.caCode, appKey: app.appKey, title: app.title, descTx: app.descTx, isExt: app.isExt, locID: app.lcaID }; cb(null, {code: 0, message:'OK', value: rtnData}); }