hello.py 文件源码

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

项目:python_learn 作者: jetty-guo 项目源码 文件源码
def scrapy():

    if request.method == 'POST':
        a = request.get_data()
        dict1 = json.loads(a)
        print dict1['serialNo'].encode("utf8")
        logging.info('/scrapy/content ?????:'+dict1['serialNo'].encode("utf8"))

        dict1=dict.get(dict1['serialNo']).info(dict1['serialNo'])
        print '/scrapy/content ?????:'+dict1

        response = app.response_class(
            response=json.dumps(dict1),
            status=200,
            mimetype='application/json'
        )
        return response
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号