fastman3-dfyjapp-request 1.0.8 → 1.0.9

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/README.md CHANGED
@@ -37,3 +37,7 @@
37
37
  ### v 1.0.8 - 2022.04.20
38
38
 
39
39
  1. 新增restful接口-携带(jwt token)请求方式getRouter,postRouter
40
+
41
+ ### v 1.0.9 - 2022.05.10
42
+
43
+ 1. 完善restful日志的输出完整性
@@ -16,7 +16,7 @@ export default function logInterceptor(chain) {
16
16
  var p = chain.proceed(requestParams);
17
17
  var res = p.then(function (res) {
18
18
  // eslint-disable-next-line no-console
19
- console.log("http <-- ".concat(url, " result[").concat(FUNCNO_POWER_BY_FASTMAN3, "]:"), JSON.stringify(res));
19
+ console.log("http <-- ".concat(url, " result[").concat(FUNCNO_POWER_BY_FASTMAN3 || RESTFUL_PATH_BY_FASTMAN3, "]:"), JSON.stringify(res));
20
20
  return res;
21
21
  });
22
22
  if (typeof p.abort === "function") res.abort = p.abort;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastman3-dfyjapp-request",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "a network request for dfyj app",
5
5
  "main": "es/request.js",
6
6
  "scripts": {