xzwebx-httpfilter 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HttpFilter.js +2 -0
- package/package.json +1 -1
package/HttpFilter.js
CHANGED
|
@@ -122,6 +122,8 @@ class http {
|
|
|
122
122
|
return res.Msg({codeKey: 'CLT_ERR', msg: ['WEBX_ERR_URL']})
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
req.moduleInfo = module
|
|
126
|
+
res.moduleInfo = module
|
|
125
127
|
req.interfaceInfo = this.ModuleInterfaceMap[module.id][subUri][req.method.toLowerCase()]
|
|
126
128
|
res.interfaceInfo = this.ModuleInterfaceMap[module.id][subUri][req.method.toLowerCase()]
|
|
127
129
|
return next()
|