fastman3-dfyjapp-request 1.1.2 → 1.1.3

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
@@ -66,3 +66,8 @@
66
66
  ### v 1.1.2 - 2022.06.27
67
67
 
68
68
  1. restful 接口 token 不需要缓存,解决登录态失效 机构户 登录页面不正常提示问题
69
+
70
+ ### v 1.1.3 - 2022.06.27
71
+
72
+ 1. 1.1.2版本变更 添加注释
73
+
@@ -54,8 +54,13 @@ var endProductInterceptor = function endProductInterceptor(chain) {
54
54
  var isServerSessionExpired = code >= 3000 && code <= 3019 || code === 3030 || code === 10026 || code === 5200;
55
55
 
56
56
  if (code === 0) {
57
- // 本地存储或覆盖token
58
- storeToken(tempToken);
57
+ // restful 接口 token 不需要缓存,解决登录态失效 机构户 登录页面不正常提示问题
58
+ if (RESTFUL_PATH_BY_FASTMAN3) {// 暂不处理
59
+ } else {
60
+ // 本地存储或覆盖token
61
+ storeToken(tempToken);
62
+ }
63
+
59
64
  return __assign({
60
65
  header: header
61
66
  }, data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastman3-dfyjapp-request",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "a network request for dfyj app",
5
5
  "main": "es/request.js",
6
6
  "scripts": {