@domain.js/main 0.3.25 → 0.3.26

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.
@@ -126,7 +126,8 @@ function Utils(cnf) {
126
126
  throw Error("Params.__files disallow assignment");
127
127
  if (lodash_1.default.size(req.files))
128
128
  params.__files = req.files;
129
- return params;
129
+ // 将上传文件附加到 params
130
+ return { ...params, ...req.files };
130
131
  },
131
132
  /**
132
133
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domain.js/main",
3
- "version": "0.3.25",
3
+ "version": "0.3.26",
4
4
  "description": "DDD framework",
5
5
  "main": "dist/index.js",
6
6
  "bin": {