@cpzxrobot/sdk 1.1.91 → 1.1.92

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.
@@ -118,7 +118,9 @@ export class CompanyGateway extends Object {
118
118
 
119
119
  async search(args: any) {
120
120
  var axios = await this.context.ready;
121
- return axios.get(`/api/v2/company/query`, args);
121
+ return axios.get(`/api/v2/company/query`, {
122
+ params: args
123
+ });
122
124
  }
123
125
 
124
126
  }
@@ -112,7 +112,9 @@ class CompanyGateway extends Object {
112
112
  }
113
113
  async search(args) {
114
114
  var axios = await this.context.ready;
115
- return axios.get(`/api/v2/company/query`, args);
115
+ return axios.get(`/api/v2/company/query`, {
116
+ params: args
117
+ });
116
118
  }
117
119
  }
118
120
  exports.CompanyGateway = CompanyGateway;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.1.91",
3
+ "version": "1.1.92",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {