@cpzxrobot/sdk 1.1.59 → 1.1.60

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.
@@ -279,7 +279,7 @@ class UserGateway extends Object {
279
279
  //根据部门获取同事
280
280
  byDept: (deptName) => {
281
281
  return this.context.ready.then((axios) => {
282
- return axios.get(`/api/v2/user/dept/${deptName}`);
282
+ return axios.get(`/api/v2/user/info/dept/${deptName}`);
283
283
  });
284
284
  }
285
285
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.1.59",
3
+ "version": "1.1.60",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/user_gateway.ts CHANGED
@@ -307,7 +307,7 @@ export class UserGateway extends Object {
307
307
  //根据部门获取同事
308
308
  byDept: (deptName: string) => {
309
309
  return this.context.ready.then((axios) => {
310
- return axios.get(`/api/v2/user/dept/${deptName}`);
310
+ return axios.get(`/api/v2/user/info/dept/${deptName}`);
311
311
  });
312
312
  }
313
313
  };