main.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:smartthings-monitor 作者: CNG 项目源码 文件源码
def GET(self, shortcode):
        log.debug('data.GET')
        user = users.collection.find_one({SHORT_KEY: shortcode})
        if user:
            log.debug('shortcode {0} matches user {1}'.format(shortcode, user))
        else:
            log.debug('no user found matching shortcode')
            raise web.seeother('/error')
        return render.data(processor.results(user["token"]))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号