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.
Files changed (2) hide show
  1. package/HttpFilter.js +2 -0
  2. 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()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xzwebx-httpfilter",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "main": "HttpFilter.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"