Changes between Version 11 and Version 12 of 2ndchild/interface


Ignore:
Timestamp:
12/16/2013 04:16:42 PM (12 years ago)
Author:
hejingdong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2ndchild/interface

    v11 v12  
    311311作用: 
    312312提交方式:GET 
    313 参数: 
    314 返回结果:JSON 
    315  
    316 { 
    317    “provinces”:[ 
     313lastid:最新的id 
     314参数: 
     315返回结果:JSON 
     316如果有更新,update为1,否则为0 
     317{ 
     318   "lastid":123125, 
     319   "update":1, 
     320   "nodes":[ 
    318321        "id":1, 
    319322        "name":"广东", 
    320         "cities":[ 
     323        "nodes":[ 
    321324            "id":1, 
    322325            "name":"广州", 
    323             "districts":[ 
     326            "nodes":[ 
    324327                "id":1, 
    325328                "name":"天河" 
     
    327330        ] 
    328331    ] 
     332} 
     333 
     334{ 
     335"last":123125, 
     336"update":0 
    329337} 
    330338ps:先精确到区,如果有镇和街道的数据,则以此类推。