// 获取系统信息
const info = wx.getDeviceInfo();
// 基于判断结果执行逻辑
if (info.platform === "ohos") {
  console.log("当前系统不支持卡券功能");
  // TODO: 在此处添加禁用卡券的代码逻辑
}