MCPcopy
hub / github.com/wangweianger/zanePerfor / getSystemForAppId

Method getSystemForAppId

app/service/system.js:84–89  ·  view source on GitHub ↗
(appId)

Source from the content-addressed store, hash-verified

82 }
83 // 获得某个系统信息(redis)
84 async getSystemForAppId(appId) {
85 if (!appId) throw new Error('查询某个系统信:appId不能为空');
86
87 const result = await this.app.redis.get(appId) || '{}';
88 return JSON.parse(result);
89 }
90 // 获得某个系统信息(数据库)
91 async getSystemForDb(appId) {
92 if (!appId) throw new Error('查询某个系统信:appId不能为空');

Callers 6

saveWxReportDataMethod · 0.80
saveDataToDb3Method · 0.80
saveWebReportDataMethod · 0.80
saveDataToDb3Method · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected