crh-jssdk 1.0.33 → 1.0.36
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.
|
@@ -283,6 +283,12 @@ exports.default = {
|
|
|
283
283
|
*/
|
|
284
284
|
setCollect: function (params) {
|
|
285
285
|
var _this = this;
|
|
286
|
+
if ((0, utils_1.checkIsHarmonyOS)() && crh_app_sdk_cxzq_1.default.compareVersion("8.2.0", crh_app_sdk_cxzq_1.default.getVersion()) === 1) {
|
|
287
|
+
return {
|
|
288
|
+
error_no: "-1",
|
|
289
|
+
error_info: "暂不支持该功能",
|
|
290
|
+
};
|
|
291
|
+
}
|
|
286
292
|
var sdkParams = {
|
|
287
293
|
productNo: params.productNo,
|
|
288
294
|
productCode: params.productCode,
|
|
@@ -350,7 +356,12 @@ exports.default = {
|
|
|
350
356
|
*/
|
|
351
357
|
queryCollect: function (params) {
|
|
352
358
|
var _this = this;
|
|
353
|
-
|
|
359
|
+
if ((0, utils_1.checkIsHarmonyOS)() && crh_app_sdk_cxzq_1.default.compareVersion("8.2.0", crh_app_sdk_cxzq_1.default.getVersion()) === 1) {
|
|
360
|
+
return {
|
|
361
|
+
error_no: "-1",
|
|
362
|
+
error_info: "暂不支持该功能",
|
|
363
|
+
};
|
|
364
|
+
}
|
|
354
365
|
var sdkParams = {
|
|
355
366
|
productNo: params.productNo,
|
|
356
367
|
productCode: params.productCode,
|