Coder Social home page Coder Social logo

jnbus's Introduction

JNBus

工作过程

获取最新版本号 —— 将版本号加入到头信息中 —— 获取服务IP地址:将IP地址和最新版本号保存在本地,当查询访问出现问题时,重复该过程

查询路线界面 —— 根据接口1,查询出符合规则的线路名称,标记起止地和路线id —— 用户选中路线名称,访问接口2和3,分别查询路线和当前车辆

接口地址

获取升级地址

http://jinan.iwaybook.com/download/update.json 返回数据

{
    "status": {
        "code": 0,
        "msg": ""
    },
    "result": {
        "versionCode": 2319,
        "versionName": "3.1.9",
        "descriptions": [
            "公交充值功能优化",
            "用户功能模块优化",
            "其他功能优化"
        ],
        "must": true,
        "url": "http://60.216.101.229/download/jinan.apk"
    }
}

新版接口http请求中header中加入

key:version

value:android-insigma.waybook.jinan-231

获取服务器IP地址

http://www.iwaybook.com/server-ue2/rest/servers-v2/370100

1. 查询接口

http://60.216.101.229/server-ue2/rest/buslines/simple/370100/1/0/20

|query|offset|len|

3. 获取路线图

http://60.216.101.229/server-ue2/rest/buslines/370100/163 获取内容与接口4相同

4. 返程接口

http://60.216.101.229/server-ue2/rest/buslines/theOtherDirection/370100/163

新版本

济莱城际快车

http://58.56.100.251:9997/mobile/map/findcarLoc.do?drivewayId=402881ed573abdee01573b3c0e9d0004

http://58.56.100.251:9997/mobile/point/getPoints.do?drivewayId=402881ed573abdee01573b3c0e9d0004

/mobile/point/getPointByDrivewayId.do

  <td bgcolor="#FBF7F7"><h2><font size="7">长清公交</font></h2></td>
</tr>

<tr>
  <td><h2><font size="6">&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://58.56.100.251:9997/mobile/point/getPoints.do?drivewayId=402816e65af36899015af4ad5cac01dd">1.K104路</a></font>(黄河浮桥——园博园北门)</h2></td>
</tr>

        2.102路(长清汽车站——长清汽车站 )

        3.105路(长清汽车站——娘娘店)

        4.1路(济南长途总站——长清汽车站)

        5.2路(长途汽车总站——长清汽车站)

jnbus's People

Contributors

wendyxie327 avatar

Stargazers

helloli avatar 小铭 avatar  avatar

Watchers

James Cloos avatar chuho avatar  avatar

jnbus's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.