# -*- coding: utf-8 -*-

from swoole.common.global_tool import fill_error_code

class BaseController(object):
    def __init__(self, para, res, logger):
        self.para   = para
        self.res    = res
        self.logger = logger

    def handler(self):
        fill_error_code(self.res, "invalid_method")

0816bd057a8cdceaa55bfaf488d700a6189def2a
<mask token>


class BaseController(object):
    <mask token>
    <mask token>

<mask token>


class BaseController(object):
    <mask token>

    def handler(self):
        fill_error_code(self.res, 'invalid_method')

<mask token>


class BaseController(object):

    def __init__(self, para, res, logger):
        self.para = para
        self.res = res
        self.logger = logger

    def handler(self):
        fill_error_code(self.res, 'invalid_method')

from swoole.common.global_tool import fill_error_code


class BaseController(object):

    def __init__(self, para, res, logger):
        self.para = para
        self.res = res
        self.logger = logger

    def handler(self):
        fill_error_code(self.res, 'invalid_method')

# -*- coding: utf-8 -*-

from swoole.common.global_tool import fill_error_code

class BaseController(object):
    def __init__(self, para, res, logger):
        self.para   = para
        self.res    = res
        self.logger = logger

    def handler(self):
        fill_error_code(self.res, "invalid_method")
