@cpzxrobot/sdk 1.3.33 → 1.3.34

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.
@@ -60,7 +60,7 @@ export class CompanyGateway extends Object {
60
60
  var selectedFarm = await this.context.user.getSelectedFarm();
61
61
  companyId = selectedFarm.id;
62
62
  }
63
- return axios.get(`/api/v2/company/${companyId}/attribute/${key}`);
63
+ return axios.get(`/api/v2/company/${companyId}/attribute?key=${key}`);
64
64
  }
65
65
 
66
66
  get department() {
@@ -52,7 +52,7 @@ class CompanyGateway extends Object {
52
52
  var selectedFarm = await this.context.user.getSelectedFarm();
53
53
  companyId = selectedFarm.id;
54
54
  }
55
- return axios.get(`/api/v2/company/${companyId}/attribute/${key}`);
55
+ return axios.get(`/api/v2/company/${companyId}/attribute?key=${key}`);
56
56
  }
57
57
  get department() {
58
58
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.3.33",
3
+ "version": "1.3.34",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {