paip.租房宝付房租功能抓包总结
=============进入“付房租”页面
http://www.zufangbao.com/loanapply/renter/rentprofile.aspx?t=41133.8214666319
==============下一步按钮
<a class="bmiddle" style=" 85px;" οnclick="LoanApply.goRentStep2();" href="javascript:void(0);">
================ LoanApply.goRentStep2()方法
<script type="text/javascript" src="http://res.zufangbao.com/scriptscp/LoanApply.js"></script>
LoanApply.goRentStep2()方法
Methods.postDataAsync("/ajaxhandler/loanapplydatacache.ashx", {
Methods.goTo("payoption.aspx" + B.join("&"), "_self")
=============POST
POST /ajaxhandler/loanapplydatacache.ashx?refreshtime=1344770578777 HTTP/1.1
data {"HouseImg_Remove":"","HouseItem":{"Acreage":"100","Addr":"dasf","AreaCode":"610104","AuthenIP":"","AuthenStatus":0,"AuthenTime":"/Date(1344770388529+0800)/","AuthenorID":0,"AuthenorType":1,"CellID":0,"CellName":"adsf","CityCode":"610100","Comment":"","CreateTime":"/Date(1344770388529+0800)/","CreatorID":0,"CreatorType":0,"Deck":"11","HouseCerCode":"","HouseID":0,"IP":"","LandLordCredentialNO":"","LandLordCredentialType":1,"LandLordName":"只能","ProvinceCode":"610000","RoomCount":"2","ShareID":0,"ShareType":1,"StockHouseID":0,"StoreID":0},"LoanAppRecordItem":{"CreateTime":"/Date(1344770388529+0800)/","CreatorID":0,"CreatorUserRole":1,"FastFee":0,"HouseID":0,"IP":"","IsFastPay":false,"IsInform":false,"IsMediary":false,"IsNeedConfirm":false,"LandLordBank":"20","LandLordBankCity":"610100","LandLordBankProvince":"610000","LandLordSubBank":"","LandlordCardNo":"5135351351351351353","LandlordMediary":0,"LandlordName":"只能","LandlordPhone":"13588888888","LandlordType":"1","LoadApplyID":0,"MediaryAccountBank":"0","MediaryAccountBankCity":"610100","MediaryAccountBankNo":"","MediaryAccountBankProvince":"610000","MediaryAccountBankType":2,"MediaryAccountCompanyID":0,"MediaryAccountCompanyName":"","MediaryAccountName":"","MediaryAccountPhone":"","MediaryAccountSubBank":"","MediaryCompBank":0,"MediaryCompBankCity":"","MediaryCompBankProvince":"","MediaryCompCardNo":"","MediaryCompName":"","MediaryCompSubBank":"","ModifyTime":"/Date(1344770388529+0800)/","OrderBusiType":2,"PayeeBank":"","PayeeCardNo":"","RentDataBegin":"2012-08-12 00:00:00","RentDataEnd":"2013-08-12 00:00:00","RentPayModel":1,"RentPersonNum":0,"RentTime":0,"RentWay":"1","RenterCredentialNo":"","RenterCredentialType":1,"RenterMobile":"","RenterName":"","SMS2Renter":false,"StoreID":0,"UserID":0},"RentContractImg_Add":"","RentContractImg_Remove":"","UserPayRecordItem":{"AmountMoney":0,"AppId":0,"AppOS":1,"Comment":"","CreateTime":"/Date(1344770388529+0800)/","CreatorID":0,"CreatorUserRole":1,"CurrentCapitalState":1,"CurrentState":1,"Deposit":0,"EarnestMoney":0,"EarnestStatus":1,"HandleMoney":0,"IP":"","IsExperience":false,"IsInstallment":false,"IsRelet":false,"IsRentHandleMoney":false,"IsVip":false,"LandlordPayAgencyFee":false,"LandlordPayMediary":0,"LoadApplyID":0,"MediaryStatus":1,"ModifyTime":"/Date(1344770388529+0800)/","MonthBegin":"2012-08-12 00:00:00","MonthEnd":"2012-09-12 00:00:00","PayRecordID":0,"PayRecordNo":"","PayTime":"/Date(1344770388529+0800)/","PayWay":0,"RefferPayRecordID":0,"RentExpense":"1000","RentPayable":0,"RentPayed":0,"StaffID":0,"StoreID":0,"SumMediary":0,"UserID":0,"CityIP":null,"CityName":null,"CompanyName":null,"CredentialNo":null,"CredentialType":0,"FreeHandleMoney":0,"FundMoney":0,"HasPayMoney":0,"LastTrackTime":null,"LoanAppRecord":null,"Mobile":null,"Name":null,"PayedDesc":"","RealNameState":0,"RegionName":null,"Sex":0,"StorName":null,"TotalAmountPayed":0,"UserPayDetailList":[]},"V_HouseCityName":null,"V_HouseDistrictName":null}
---------------reply:
{"StatusCode":0,"Status":"数据已经保存","Message":"数据已经保存","Data":{}}
===========来到第二步
http://www.zufangbao.com/loanapply/renter/payoption.aspx?refreshtime=1344770579092
8 http://www.zufangbao.com/loanapply/renter/payoption.aspx?refreshtime=1344770579092
==============下一步按钮
<a class="bmiddle" style=" 85px;" οnclick="LoanApply.goRentStep3();" href="javascript:void(0);">
============== LoanApply.goRentStep3()
Methods.postDataAsync("/ajaxhandler/loanapplydatacache.ashx", {
"id": LoanApply.oPayRecordID,
"rn": LoanApply.oIsRenew,
"data": _
}, function(_, A){
if (A.StatusCode == 0)
LoanApply.submitLoanApply();
=================POST /ajaxhandler/loanapplydatacache.ashx",
{"HouseImg_Remove":"","HouseItem":{"Acreage":100,"Addr":"dasf","AreaCode":"610104","AuthenIP":"","AuthenStatus":0,"AuthenTime":"/Date(1344770388529+0800)/","AuthenorID":0,"AuthenorType":1,"CellID":0,"CellName":"adsf","CityCode":"610100","Comment":"","CreateTime":"/Date(1344770388529+0800)/","CreatorID":0,"CreatorType":0,"Deck":11,"HouseCerCode":"","HouseID":0,"IP":"","LandLordCredentialNO":"","LandLordCredentialType":1,"LandLordName":"只能","ProvinceCode":"610000","RoomCount":2,"ShareID":0,"ShareType":1,"StockHouseID":0,"StoreID":0},"LoanAppRecordItem":{"CreateTime":"/Date(1344770388529+0800)/","CreatorID":0,"CreatorUserRole":1,"FastFee":0,"HouseID":0,"IP":"","IsFastPay":false,"IsInform":false,"IsMediary":false,"IsNeedConfirm":false,"LandLordBank":20,"LandLordBankCity":"610100","LandLordBankProvince":"610000","LandLordSubBank":"","LandlordCardNo":"5135351351351351353","LandlordMediary":0,"LandlordName":"只能","LandlordPhone":"13588888888","LandlordType":1,"LoadApplyID":0,"MediaryAccountBank":0,"MediaryAccountBankCity":"610100","MediaryAccountBankNo":"","MediaryAccountBankProvince":"610000","MediaryAccountBankType":2,"MediaryAccountCompanyID":0,"MediaryAccountCompanyName":"","MediaryAccountName":"","MediaryAccountPhone":"","MediaryAccountSubBank":"","MediaryCompBank":0,"MediaryCompBankCity":"","MediaryCompBankProvince":"","MediaryCompCardNo":"","MediaryCompName":"","MediaryCompSubBank":"","ModifyTime":"/Date(1344770388529+0800)/","OrderBusiType":2,"PayeeBank":"","PayeeCardNo":"","RentDataBegin":"/Date(1344700800000+0800)/","RentDataEnd":"/Date(1376236800000+0800)/","RentPayModel":1,"RentPersonNum":0,"RentTime":0,"RentWay":1,"RenterCredentialNo":"","RenterCredentialType":1,"RenterMobile":"","RenterName":"","SMS2Renter":false,"StoreID":0,"UserID":0},"RentContractImg_Add":"","RentContractImg_Remove":"","UserPayRecordItem":{"AmountMoney":"3030","AppId":0,"AppOS":1,"Comment":"","CreateTime":"/Date(1344770388529+0800)/","CreatorID":0,"CreatorUserRole":1,"CurrentCapitalState":1,"CurrentState":1,"Deposit":0,"EarnestMoney":"0","EarnestStatus":1,"HandleMoney":"30","IP":"","IsExperience":false,"IsInstallment":false,"IsRelet":false,"IsRentHandleMoney":false,"IsVip":false,"LandlordPayAgencyFee":false,"LandlordPayMediary":0,"LoadApplyID":0,"MediaryStatus":1,"ModifyTime":"/Date(1344770388529+0800)/","MonthBegin":"2012-08-12 00:00:00","MonthEnd":"2012-11-12 00:00:00","PayRecordID":0,"PayRecordNo":"","PayTime":"/Date(1344770388529+0800)/","PayWay":0,"RefferPayRecordID":0,"RentExpense":1000,"RentPayable":0,"RentPayed":"3000","StaffID":0,"StoreID":0,"SumMediary":0,"UserID":0,"CityIP":null,"CityName":null,"CompanyName":null,"CredentialNo":null,"CredentialType":0,"FreeHandleMoney":0,"FundMoney":0,"HasPayMoney":0,"LastTrackTime":null,"LoanAppRecord":null,"Mobile":null,"Name":null,"PayedDesc":"","RealNameState":0,"RegionName":null,"Sex":0,"StorName":null,"TotalAmountPayed":0,"UserPayDetailList":[]},"V_HouseCityName":null,"V_HouseDistrictName":null}
=================== LoanApply.submitLoanApply();
Methods.postDataAsync("/ajaxhandler/SaveLoanApply.ashx", {
"id": LoanApply.oPayRecordID,
"rn": LoanApply.oIsRenew,
"RentEarnestRate": LoanApply.earnestRate,
"RentHandleMoneyRate": LoanApply.handleRate
}, function(_, A){
if (A.result)
Methods.goTo("/LoanApply/OnlinePay.aspx?id=" + A.payRecordId + "&t=" + new Date().getTime(), "_self");
else {
==============POST /ajaxhandler/saveloanapply.ashx?refreshtime=1344771204441 HTTP/1.1
id=0&rn=0&RentEarnestRate=0.05&RentHandleMoneyRate=0.01
---reply
{"result":true,"payRecordId":18027,"msg":"","toStep":0,"webRentEarnestRate":0.05,"rentEarnestRate":0.05,"webRentHandleMoneyRate":0.01,"rentHandleMoneyRate":0.01}
==========转到支付
http://www.zufangbao.com/loanapply/onlinepay.aspx?id=18027&t=1344771204595&refreshtime=1344771204595
http://www.zufangbao.com/loanapply/onlinepay.aspx?id=18027&t=1344771204595&refreshtime=1344771204595