Commits

zuroc committed a97cbd2

f

Comments (0)

Files changed (1)

.app/oauth/view/douban.py

 #!/usr/bin/env python
 # coding: utf-8
 import _env
+from _route import route
 from model.base.gid import CID
 from model.oauth.douban import DoubanMixin
 from misc.config import HOST
 from view.oauth._base import LoginView, JsonLoginView
+import tornado.web
 
-@urlmap('/oauth/%s'%OAUTH_DOUBAN)
+@route('/oauth/bind/douban')
 class _(DoubanMixin, LoginView):
     cid = CID.USER_NAMECARD_DOUBAN