@cpzxrobot/sdk 1.1.54 → 1.1.55

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.
@@ -254,7 +254,7 @@ class UserGateway extends Object {
254
254
  var factory = await this.context.user.getSelectedFarm();
255
255
  return axios.get(`/api/v1/user/info`, {
256
256
  params: {
257
- selected_farm: factory
257
+ selected_factory: factory
258
258
  }
259
259
  });
260
260
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.1.54",
3
+ "version": "1.1.55",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/user_gateway.ts CHANGED
@@ -281,7 +281,7 @@ export class UserGateway extends Object {
281
281
  var factory = await this.context.user.getSelectedFarm();
282
282
  return axios.get(`/api/v1/user/info`, {
283
283
  params: {
284
- selected_farm: factory
284
+ selected_factory: factory
285
285
  }
286
286
  });
287
287
  }