code: private void processMiPushMessage(com.xiaomi.mipush.sdk.MiPushMessage miPushMessage) {
      if (null != miPushMessage) {
        String title = miPushMessage.getTitle();
        String description = miPushMessage.getDescription();
        String content = miPushMessage.getContent();
  
        JSONObject jsonObject = null;
        if (!TextUtils.isEmpty(content)) {
          try {
            jsonObject = JSON.parseObject(content);
          } catch (Exception exception) {
            LOGGER.e("Parsing json data error, " + content, exception);
          }
        }
        if (null == jsonObject) {
          jsonObject = new JSONObject();
        }
  
        if (!StringUtil.isEmpty(title)) {
          jsonObject.put("title", title);
        }
        if (!StringUtil.isEmpty(description)) {
          jsonObject.put("alert", description);
        }
        AndroidNotificationManager androidNotificationManager = AndroidNotificationManager.getInstance();
        androidNotificationManager.processMixPushMessage(jsonObject.toJSONString());
      }
    }
docs: 处理小米推送的透传消息
  @param miPushMessage