wavechao / lwapi

1 stars 1 forks source link

获取我的论题接口Page参数无效 #53

Closed Naituw closed 11 years ago

Naituw commented 11 years ago

如题

wavechao commented 11 years ago

测试url:http://lwapi.sinaapp.com/titles/mine.json 参数:page=1,count=1,结果: { "code": 200, "message": "成功", "object": [ { "available_major": [ "1", "2", "3", "5" ], "createAt": "2013-03-03T10:12:41", "deptid": 1, "description": "要求有网页、android和ios版", "require_info": "答辩前完成", "state": 1, "studentNum": 1, "students": null, "teacher": null, "teacherid": 1, "title": "基于新浪sae的毕业论文管理系统", "titleid": 1 } ] } 参数:page=2,count=1,结果: { "code": 200, "message": "成功", "object": [ { "available_major": [ "1", "2", "3", "5" ], "createAt": "2013-03-03T10:02:03", "deptid": 1, "description": "要求有网页、android和ios版", "require_info": "答辩前完成", "state": 1, "studentNum": 2, "students": null, "teacher": null, "teacherid": 1, "title": "毕业论文管理系统", "titleid": 2 } ] }

wavechao commented 11 years ago

账号是这一个basic:Ym9ibzoxMjM0

wavechao commented 11 years ago

测试了第二遍了,没什么问题啊

Naituw commented 11 years ago

Basic MDkyMDExMDcwOjEyMzQ0MzIx

page:5

返回一条数据

wavechao commented 11 years ago

这个字段对学生无效的,学生不是就是获取自己选到的论题吗

Naituw commented 11 years ago

对学生有效

wavechao commented 11 years ago

学生获取到的是什么?自己选到的论题?这样子不就一个而已嘛

wavechao commented 11 years ago

修改为 { "code": 200, "message": "成功", "object": [] }