@cpzxrobot/sdk 1.1.36 → 1.1.37
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/company_gateway.ts +6 -6
- package/dist/company_gateway.js +6 -6
- package/package.json +1 -1
package/company_gateway.ts
CHANGED
|
@@ -15,17 +15,17 @@ export class CompanyGateway extends Object {
|
|
|
15
15
|
|
|
16
16
|
get rank() {
|
|
17
17
|
return {
|
|
18
|
-
byRevenue: async (
|
|
18
|
+
byRevenue: async () => {
|
|
19
19
|
var axios = await this.context.ready;
|
|
20
|
-
return axios.get(`/api/v2/coremde-sale/company/revenue/rank/list
|
|
20
|
+
return axios.get(`/api/v2/coremde-sale/company/revenue/rank/list`);
|
|
21
21
|
},
|
|
22
|
-
byProfit: async (
|
|
22
|
+
byProfit: async () => {
|
|
23
23
|
var axios = await this.context.ready;
|
|
24
|
-
return axios.get(`/api/v2/coremde-sale/company/profit/rank/list
|
|
24
|
+
return axios.get(`/api/v2/coremde-sale/company/profit/rank/list`);
|
|
25
25
|
},
|
|
26
|
-
byOrder: async (
|
|
26
|
+
byOrder: async () => {
|
|
27
27
|
var axios = await this.context.ready;
|
|
28
|
-
return axios.get(`/api/v2/coremde-sale/company/order/rank/list
|
|
28
|
+
return axios.get(`/api/v2/coremde-sale/company/order/rank/list`);
|
|
29
29
|
},
|
|
30
30
|
}
|
|
31
31
|
}
|
package/dist/company_gateway.js
CHANGED
|
@@ -13,17 +13,17 @@ class CompanyGateway extends Object {
|
|
|
13
13
|
}
|
|
14
14
|
get rank() {
|
|
15
15
|
return {
|
|
16
|
-
byRevenue: async (
|
|
16
|
+
byRevenue: async () => {
|
|
17
17
|
var axios = await this.context.ready;
|
|
18
|
-
return axios.get(`/api/v2/coremde-sale/company/revenue/rank/list
|
|
18
|
+
return axios.get(`/api/v2/coremde-sale/company/revenue/rank/list`);
|
|
19
19
|
},
|
|
20
|
-
byProfit: async (
|
|
20
|
+
byProfit: async () => {
|
|
21
21
|
var axios = await this.context.ready;
|
|
22
|
-
return axios.get(`/api/v2/coremde-sale/company/profit/rank/list
|
|
22
|
+
return axios.get(`/api/v2/coremde-sale/company/profit/rank/list`);
|
|
23
23
|
},
|
|
24
|
-
byOrder: async (
|
|
24
|
+
byOrder: async () => {
|
|
25
25
|
var axios = await this.context.ready;
|
|
26
|
-
return axios.get(`/api/v2/coremde-sale/company/order/rank/list
|
|
26
|
+
return axios.get(`/api/v2/coremde-sale/company/order/rank/list`);
|
|
27
27
|
},
|
|
28
28
|
};
|
|
29
29
|
}
|