@yunzhanghu/sdk-nodejs 0.0.3 → 0.0.4
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/package.json
CHANGED
|
@@ -265,7 +265,7 @@ export class Dataservice extends YZHclient {
|
|
|
265
265
|
"get",
|
|
266
266
|
"/api/dataservice/v1/orders",
|
|
267
267
|
req,
|
|
268
|
-
{ encryption: req?.data_type === "
|
|
268
|
+
{ encryption: req?.data_type === "encryption" },
|
|
269
269
|
cb
|
|
270
270
|
)
|
|
271
271
|
}
|
|
@@ -301,7 +301,7 @@ export class Dataservice extends YZHclient {
|
|
|
301
301
|
"get",
|
|
302
302
|
"/api/dataservice/v1/bills",
|
|
303
303
|
req,
|
|
304
|
-
{ encryption: req?.data_type === "
|
|
304
|
+
{ encryption: req?.data_type === "encryption" },
|
|
305
305
|
cb
|
|
306
306
|
)
|
|
307
307
|
}
|
|
@@ -8,7 +8,7 @@ class Dataservice extends client_1.default {
|
|
|
8
8
|
}
|
|
9
9
|
// ListDailyOrder 查询日订单数据
|
|
10
10
|
async ListDailyOrder(req, cb) {
|
|
11
|
-
return this.request("get", "/api/dataservice/v1/orders", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "
|
|
11
|
+
return this.request("get", "/api/dataservice/v1/orders", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "encryption" }, cb);
|
|
12
12
|
}
|
|
13
13
|
// GetDailyOrderFile 查询日订单文件
|
|
14
14
|
async GetDailyOrderFile(req, cb) {
|
|
@@ -20,7 +20,7 @@ class Dataservice extends client_1.default {
|
|
|
20
20
|
}
|
|
21
21
|
// ListDailyBill 查询日流水数据
|
|
22
22
|
async ListDailyBill(req, cb) {
|
|
23
|
-
return this.request("get", "/api/dataservice/v1/bills", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "
|
|
23
|
+
return this.request("get", "/api/dataservice/v1/bills", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "encryption" }, cb);
|
|
24
24
|
}
|
|
25
25
|
// GetDailyBillFileV2 查询日流水文件
|
|
26
26
|
async GetDailyBillFileV2(req, cb) {
|
|
@@ -20,7 +20,7 @@ class Payment extends client_1.default {
|
|
|
20
20
|
}
|
|
21
21
|
// GetOrder 查询单笔订单信息
|
|
22
22
|
async GetOrder(req, cb) {
|
|
23
|
-
return this.request("get", "/api/payment/v1/query-order", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "
|
|
23
|
+
return this.request("get", "/api/payment/v1/query-order", req, { encryption: (req === null || req === void 0 ? void 0 : req.data_type) === "encryption" }, cb);
|
|
24
24
|
}
|
|
25
25
|
// GetDealerVARechargeAccount 查询平台企业汇款信息
|
|
26
26
|
async GetDealerVARechargeAccount(req, cb) {
|