code: def query_total_cat_recent(cat_id_arr, label=None, num=8, kind='1'):
          '''
          :param cat_id_arr:   list of categories. ['0101', '0102']
          :param label: the additional label
          '''
          if label:
              return MPost.__query_with_label(
                  cat_id_arr,
                  label=label,
                  num=num,
                  kind=kind
              )
          return MPost.query_total_cat_recent_no_label(cat_id_arr, num=num, kind=kindf query_total_cat_recent(cat_id_arr, label=None, num=8, kind='1'):
          '''
          :param cat_id_arr:   list of categories. ['0101', '0102']
          :param label: the additional label
          '''
          if label:
              return MPost.__query_with_label(
                  cat_id_arr,
                  label=label,
                  num=num,
                  kind=kind
              )
          return MPost.query_total_cat_recent_no_label(cat_id_arr, num=num, kind=kind)
docs: :param cat_id_arr:   list of categories. ['0101', '0102']
          :param label: the additional label