本帖最后由 zg990725 于 2024-4-1 16:49 编辑
杭州水务账单:
[POST]http://wt.hzwgc.com/iwater/v1/watermeter/queryPayMentInfo/v2.json
请求头:
Content-Type:application/x-www-form-urlencoded;charset=UTF-8
Accept:application/json
charset=UTF-8
Accept-Language: zh-CN
请求参数:
requestPara={"token":"{抓包得到token}","waterCorpId":3,"UNID":"","areaId":0,"accountType":"XJ","apiType":"PC","appVersion":"1.0.2","meterNumber":"{户号}","startDate":"{开始时间,-1年}","endDate":"{当前时间}","payStatus":2}
杭州水务停水公告
[GET]http://wt.hzwgc.com/iwatermgr/watercorpNotice/getList.json?watercorpId=3&page=1&pageSize=50&token=12121
请求头
Content-Type:application/x-www-form-urlencoded;charset=UTF-8
Accept:application/json
charset=UTF-8
Accept-Language: zh-CN
杭州燃气(包含企业和居民用户): 居民用户://不需要 cookie//不需要登录, 不需要token
[GET]https://ht-service.hzgas.cn/OnlineService/transferSystem/queryUserBill?userno={户号}&state=12&limit=100
请求头:
Content-Type:application/x-www-form-urlencoded;charset=UTF-8
Accept:application/json
charset=UTF-8
Accept-Language: zh-CN
根据地址获取户号(不安全):
[GET]https://ht-service.hzgas.cn/OnlineService/transferSystem/queryUserInfoByAddreDes?addr={地址}
企业用户: header携带cookie
[POST]https://ht-service.hzgas.cn/platform/njdys/transmit
请求头:
Content-Type:application/x-www-form-urlencoded;charset=UTF-8
Accept:application/json
charset=UTF-8
Accept-Language: zh-CN
cookie: {抓包得到}
请求参数:
{"service":"QueryBillRecord","userid":"{户号}","startdate":"{开始时间,不要超过一年}","enddate":"{当前时间}"}
杭州国家电网(居民,不含企业用户) 日账单
[POST]https://wx2.zj.sgcc.com.cn/ldx/zljl/queryData/dailyElectricity
请求头:
Content-Type:application/json;charset=UTF-8
Accept:application/json
charset=UTF-8
Accept-Language: zh-CN
params:{抓包得到}
请求参数:
{"consNo":"{户号}","startTime":"{上一月}","endTime":"{当前时间}","operateTime":"{当前时间}"}
月账单:
[GET]https://wx2.zj.sgcc.com.cn/ldx/wechat3/customer/dmxBills/getBillsN.do?consNo={户号}&event=41
请求头:
Content-Type:application/json;charset=UTF-8
Accept:application/json
charset=UTF-8
Accept-Language: zh-CN
cookie:{抓包得到}
停电公告:
[POST]https://wx2.zj.sgcc.com.cn/ldx/wechat3/customer/notice/searchN.do
请求头:
Content-Type:application/x-www-form-urlencoded;charset=UTF-8
cookie:{抓包得到}
请求参数:
event=191&areaNo=330102
备注: cookie和token 暂时未发现过期,一直有效; 获取户号也是有相应接口, 自行获取
|