code: def ajax_kindcat_arr(self, kind_sig):
          '''
          Get the sub category.
  
          根据kind值（kind_sig）获取相应分类，返回Json格式
          '''
          out_arr = {}
          for catinfo in MCategory.query_kind_cat(kind_sig):
              out_arr[catinfo.uid] = catinfo.name
          json.dump(out_arr, selff ajax_kindcat_arr(self, kind_sig):
          '''
          Get the sub category.
  
          根据kind值（kind_sig）获取相应分类，返回Json格式
          '''
          out_arr = {}
          for catinfo in MCategory.query_kind_cat(kind_sig):
              out_arr[catinfo.uid] = catinfo.name
          json.dump(out_arr, self)
docs: Get the sub category.
  
          根据kind值（kind_sig）获取相应分类，返回Json格式