code: def _the_view_kwd(self, postinfo):
          '''
          Generate the kwd dict for view.
          :param postinfo: the postinfo
          :return:  dict
          '''
          kwd = {
              'pager': '',
              'url': self.request.uri,
              'cookie_str': tools.get_uuid(),
              'daohangstr': '',
              'signature': postinfo.uid,
              'tdesc': '',
              'eval_0': MEvaluation.app_evaluation_count(postinfo.uid, 0),
              'eval_1': MEvaluation.app_evaluation_count(postinfo.uid, 1),
              'login': 1 if self.get_current_user() else 0,
              'has_image': 0,
              'parentlist': MCategory.get_parent_list(),
              'parentname': '',
              'catname': '',
              'router': router_post[postinfo.kind]
          }
          return kwf _the_view_kwd(self, postinfo):
          '''
          Generate the kwd dict for view.
          :param postinfo: the postinfo
          :return:  dict
          '''
          kwd = {
              'pager': '',
              'url': self.request.uri,
              'cookie_str': tools.get_uuid(),
              'daohangstr': '',
              'signature': postinfo.uid,
              'tdesc': '',
              'eval_0': MEvaluation.app_evaluation_count(postinfo.uid, 0),
              'eval_1': MEvaluation.app_evaluation_count(postinfo.uid, 1),
              'login': 1 if self.get_current_user() else 0,
              'has_image': 0,
              'parentlist': MCategory.get_parent_list(),
              'parentname': '',
              'catname': '',
              'router': router_post[postinfo.kind]
          }
          return kwd
docs: Generate the kwd dict for view.
          :param postinfo: the postinfo
          :return:  dict