@tmsfe/tms-core 0.0.133 → 0.0.135

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/package.json +1 -1
  2. package/src/request.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmsfe/tms-core",
3
- "version": "0.0.133",
3
+ "version": "0.0.135",
4
4
  "description": "tms运行时框架",
5
5
  "repository": {
6
6
  "type": "git",
package/src/request.js CHANGED
@@ -123,14 +123,16 @@ const composeParam = async (param = {}, withAuth = true, baseParam = {}) => {
123
123
  const modifyAuthParam = async (param, withAuth) => {
124
124
  const requestParam = { ...param };
125
125
  if (withAuth) {
126
- const { userId, token } = await getAuthInfo();
126
+ const { userId, token, openId } = await getAuthInfo();
127
127
  requestParam.userId = userId;
128
128
  requestParam.token = token;
129
+ requestParam.openId = openId;
129
130
  return requestParam;
130
131
  }
131
132
  delete requestParam.userId;
132
133
  delete requestParam.userid;
133
134
  delete requestParam.token;
135
+ delete requestParam.openId;
134
136
  return requestParam;
135
137
  };
136
138
 
@@ -394,7 +396,6 @@ export default class Request {
394
396
  header,
395
397
  method,
396
398
  data,
397
- useHighPerformanceMode: true,
398
399
  enableHttp2: true,
399
400
  success: (res) => {
400
401
  printLog(true, res.data);