# coding: utf-8
'''
Created on 2016年2月18日

@author: AilenZou
'''
import tornado.web
import define
from api.basehandler import BaseHandler, CustomHTTPError


class SelfHandler(BaseHandler):
    @tornado.web.authenticated
    def get(self):
        pass


class LoginHandler(BaseHandler):
    def post(self):
        email = self.get_argument("email")
        password = self.get_argument("password")
        # raise CustomHTTPError(401,
        #                       define.C_EC_wrongPassword,
        #                       cause=define.C_CAUSE_userMissing
        #                       )

06cb8a9e66746edaee3a77a1a1bfb9f07c2d58fe
<mask token>


class LoginHandler(BaseHandler):
    <mask token>

<mask token>


class SelfHandler(BaseHandler):
    <mask token>


class LoginHandler(BaseHandler):

    def post(self):
        email = self.get_argument('email')
        password = self.get_argument('password')

<mask token>


class SelfHandler(BaseHandler):

    @tornado.web.authenticated
    def get(self):
        pass


class LoginHandler(BaseHandler):

    def post(self):
        email = self.get_argument('email')
        password = self.get_argument('password')

<mask token>
import tornado.web
import define
from api.basehandler import BaseHandler, CustomHTTPError


class SelfHandler(BaseHandler):

    @tornado.web.authenticated
    def get(self):
        pass


class LoginHandler(BaseHandler):

    def post(self):
        email = self.get_argument('email')
        password = self.get_argument('password')

# coding: utf-8
'''
Created on 2016年2月18日

@author: AilenZou
'''
import tornado.web
import define
from api.basehandler import BaseHandler, CustomHTTPError


class SelfHandler(BaseHandler):
    @tornado.web.authenticated
    def get(self):
        pass


class LoginHandler(BaseHandler):
    def post(self):
        email = self.get_argument("email")
        password = self.get_argument("password")
        # raise CustomHTTPError(401,
        #                       define.C_EC_wrongPassword,
        #                       cause=define.C_CAUSE_userMissing
        #                       )
