@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.
- package/dist/user_gateway.js +1 -1
- package/package.json +1 -1
- package/user_gateway.ts +1 -1
package/dist/user_gateway.js
CHANGED
|
@@ -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
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
|
};
|