Tjrac_lib 请求状态记录

读者推购

request 302

GET 
/asord/asord_redr.php?click_type=commit&title=%E4%BD%A0%E5%BF%85%E9%A1%BB%E7%9F%A5%E9%81%93%E7%9A%84222%E4%B8%AAC%2B%2B%E8%AF%AD%E8%A8%80%E9%97%AE%E9%A2%98&a_name=%E6%9D%8E%E4%B8%96%E6%AC%A3&b_pub=%E4%BA%BA%E6%B0%91%E9%82%AE%E7%94%B5%E5%87%BA%E7%89%88%E7%A4%BE&b_date=2010-6&b_type=C&b_isbn=9787115224965&b_remark= HTTP/1.1
Host: 121.193.129.2:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0
Accept: text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://121.193.129.2:8080/asord/asord_redr.php?click_type=douban&title=222&a_name=&b_pub=&b_date=&b_type=C&b_isbn=&b_remark=
Cookie: TimeSelf=394348; PHPSESSID=dio52e3ql0de367g3nlnh43v42
Connection: keep-alive

response 302

request:
GET /asord/asord_redr_con.php?b_name=你必须知道的222个C++语言问题&a_name=李世欣&b_type=C&b_pub=人民邮电出版社&b_date=2010-6&b_isbn=9787115224965 HTTP/1.1
Host: 121.193.129.2:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0
Accept: text/html,application/xhtml xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://121.193.129.2:8080/asord/asord_redr.php?click_type=douban&title=222&a_name=&b_pub=&b_date=&b_type=C&b_isbn=&b_remark=
Cookie: TimeSelf=394348; PHPSESSID=dio52e3ql0de367g3nlnh43v42
Connection: keep-alive

request 200

request
GET
/asord/asord_redr_result.php?msg=  荐购成功,感谢您参与我们的馆藏建设!<br /><br />  我们会通过Email及时通知你所荐购书刊的处理情况。<br /><br />  您也可以通过我的图书馆中的荐购历史查看您所荐购图书的处理情况。&retUrl=asord_redr.php HTTP/1.1
Host: 121.193.129.2:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://121.193.129.2:8080/asord/asord_redr.php?click_type=douban&title=222&a_name=&b_pub=&b_date=&b_type=C&b_isbn=&b_remark=
Cookie: TimeSelf=394348; PHPSESSID=dio52e3ql0de367g3nlnh43v42
Connection: keep-alive

读者挂失

request

POST /reader/redr_lost_result.php HTTP/1.1
Host: 121.193.129.2:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://121.193.129.2:8080/reader/redr_lost.php
Cookie: TimeSelf=394348; PHPSESSID=dio52e3ql0de367g3nlnh43v42
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 19

loss_pwd=6011203156

response

HTTP/1.1 200 OK
Date: Sat, 09 May 2015 08:57:04 GMT
Server: Apache/2.2.22 (Win32) PHP/5.2.17
X-Powered-By: PHP/5.2.17
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 3831
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html

网页包含关键字挂失成功 or
密码输入错误,请重新登陆 !

修改密码

request

POST /reader/change_passwd_result.php HTTP/1.1
Host: 121.193.129.2:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://121.193.129.2:8080/reader/change_passwd.php
Cookie: TimeSelf=394348;        PHPSESSID=dio52e3ql0de367g3nlnh43v42
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 84

old_passwd=6011203157&new_passwd=554737&chk_passwd=554737&submit1=%E7%A1%AE%E5%AE%9A

response

HTTP/1.1 200 OK
Date: Sat, 09 May 2015 09:30:33 GMT
Server: Apache/2.2.22 (Win32) PHP/5.2.17
X-Powered-By: PHP/5.2.17
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 3837
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html

续借

GET /reader/ajax_renew.php?bar_code=RA0527003&check=2DB778E6&time=1430726027035 HTTP/1.1
Host: 121.193.129.2:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:35.0) Gecko/20100101 Firefox/35.0
Accept: text/html, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Referer: http://121.193.129.2:8080/reader/book_lst.php
Cookie: TimeSelf=393309; PHPSESSID=qd7titnifvmpstu5eg1l3fj954
Connection: keep-alive


GET /reader/ajax_renew.php?bar_code=RA0527003&check=2DB778E6&time=1430726095058 HTTP/1.1
Host: 121.193.129.2:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:35.0) Gecko/20100101 Firefox/35.0
Accept: text/html, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Referer: http://121.193.129.2:8080/reader/book_lst.php
Cookie: TimeSelf=393309; PHPSESSID=qd7titnifvmpstu5eg1l3fj954
Connection: keep-alive

包含关键字 旧密码输入有误 or 您的密码修改成功,请重新登陆

urlconde转码参考 http://blog.csdn.net/zhh521125/article/details/6627245

下拉参考 http://imshare.iteye.com/blog/770950

密码修改 第二次 程序奔溃 原因应该是 修改完的密码 没有给 shara 修改完成

推荐购买 功能实现但返回码为空

用原来model的办法 会乱码

出现HTML代码,一闪就过,再运行就停止了

挂失问题 挂失了以后不再显示 输入密码

推荐国脉获取的response的webconte为空 原因是经过了两次302跳转 先都以建构成功返回

搜索功能出错 at com.tjrac.adapter.Czsj_Adapter.getCount(Czsj_Adapter.java:39)空指针

多次按挂失 报错Login

搜索书籍的图片

Comments