标签:
import logging import os import sys import json import cherrypy import time import splunk import splunk.bundle as bundle import splunk.appserver.mrsparkle.controllers as controllers import splunk.appserver.mrsparkle.lib.util as util from splunk.appserver.mrsparkle.lib.decorators import expose_page from splunk.models.event_type import EventType logger = logging.getLogger(‘splunk.appserver.mrsparkle.controllers.DutyReport‘) class DutyReport(controllers.BaseController): ‘‘‘Module System Tutorial Setup Controller‘‘‘ @expose_page(must_login=True, methods=[‘GET‘]) def showkkk(self, **kwargs): return _("hello world!")
标签:
原文地址:http://my.oschina.net/u/861926/blog/468234