# test_django **Repository Path**: null_004_7093/test_django ## Basic Information - **Project Name**: test_django - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 题目链接 http://repo.mobile-mafia.com/open/wiki/wikis/%E6%8E%92%E8%A1%8C%E6%A6%9C%E6%9C%8D%E5%8A%A1 1.上传分数 请求域名: http://www.guoyafeng.com/save_leader_boadr/ 请求方式POST 类型 json 例子 {"client_1":11,"client_2":533,"client_3":444} 返回值 code:1上传成功: { "code": 1 } 2.查询排名 请求域名 请求方式GET: http://www.guoyafeng.com/get_leader_board/?start_num=0&end_num=9 返回值 code:1查询成功: { "code": 1, "rank_list": [ { "client_id": "client_2", "rank": 0, "score": 2998.0 }, { "client_id": "client_3", "rank": 1, "score": 2664.0 }, { "client_id": "client_1", "rank": 2, "score": 66.0 }, { "client_id": "1", "rank": 3, "score": 4.0 } ] } 3.部署方式:Nginx(转发) + Uwsgi + Django + Supervisor(守护进程) # 附加题 # 题目地址 http://repo.mobile-mafia.com/open/wiki/wikis/%E9%99%84%E5%8A%A0%E9%A2%98 4.extra_questions.py 附加题答案